diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-11-18 04:48:22 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-11-18 04:48:22 -0500 |
commit | b5e986c46857a4bed329afd41faec73be24b6d74 (patch) | |
tree | 5f1f2c24753529b6a7b012a336a33a3930b81a9f /arch/blackfin/include | |
parent | dce783c5e400d6a470c86ccb5a7fdeabf27afbf4 (diff) |
Blackfin arch: only define HI/LO macros for assembly files
Only define HI/LO macros for assembly files since some common C files
use HI/LO as variable names
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r-- | arch/blackfin/include/asm/blackfin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/blackfin/include/asm/blackfin.h b/arch/blackfin/include/asm/blackfin.h index 8749b0e321ab..8bb2cb139756 100644 --- a/arch/blackfin/include/asm/blackfin.h +++ b/arch/blackfin/include/asm/blackfin.h | |||
@@ -6,11 +6,6 @@ | |||
6 | #ifndef _BLACKFIN_H_ | 6 | #ifndef _BLACKFIN_H_ |
7 | #define _BLACKFIN_H_ | 7 | #define _BLACKFIN_H_ |
8 | 8 | ||
9 | #define LO(con32) ((con32) & 0xFFFF) | ||
10 | #define lo(con32) ((con32) & 0xFFFF) | ||
11 | #define HI(con32) (((con32) >> 16) & 0xFFFF) | ||
12 | #define hi(con32) (((con32) >> 16) & 0xFFFF) | ||
13 | |||
14 | #include <mach/anomaly.h> | 9 | #include <mach/anomaly.h> |
15 | 10 | ||
16 | #ifndef __ASSEMBLY__ | 11 | #ifndef __ASSEMBLY__ |
@@ -65,6 +60,11 @@ static inline void CSYNC(void) | |||
65 | 60 | ||
66 | #else /* __ASSEMBLY__ */ | 61 | #else /* __ASSEMBLY__ */ |
67 | 62 | ||
63 | #define LO(con32) ((con32) & 0xFFFF) | ||
64 | #define lo(con32) ((con32) & 0xFFFF) | ||
65 | #define HI(con32) (((con32) >> 16) & 0xFFFF) | ||
66 | #define hi(con32) (((con32) >> 16) & 0xFFFF) | ||
67 | |||
68 | /* SSYNC & CSYNC implementations for assembly files */ | 68 | /* SSYNC & CSYNC implementations for assembly files */ |
69 | 69 | ||
70 | #define ssync(x) SSYNC(x) | 70 | #define ssync(x) SSYNC(x) |