arch: Cleanup of __ARM__ checks
* gcc 7.x defines __arm__ and __ARM__ (and others) * clang defines __arm__ and __arm * cleanup a few related ifdef vs if macros Change-Id: I5da4bafac590f6fa3e10e543688001c2449f840d
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* Architecture-specific structure passed to signal handlers
|
||||
*/
|
||||
|
||||
#if __ARM__
|
||||
#if defined(__arm__)
|
||||
struct vregs
|
||||
{
|
||||
ulong r0;
|
||||
@@ -32,7 +32,7 @@ struct vregs
|
||||
ulong cpsr;
|
||||
// TODO: ARM: fix floats in vregs, add missing stuff.
|
||||
};
|
||||
#endif /* __ARM__ */
|
||||
#endif /* defined(__arm__) */
|
||||
|
||||
|
||||
#endif /* _ARCH_SIGNAL_H_ */
|
||||
|
||||
Reference in New Issue
Block a user