diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-06-11 11:47:27 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-11 11:47:27 +0200 |
commit | df30b1171714bbf0e55ffe02138be4b8447e4235 (patch) | |
tree | 82241675e05ee5053cb748662950c2a41e9abee2 /include/asm-blackfin/blackfin.h | |
parent | Blackfin arch: redo our linker script a bit (diff) | |
download | linux-df30b1171714bbf0e55ffe02138be4b8447e4235.tar.xz linux-df30b1171714bbf0e55ffe02138be4b8447e4235.zip |
Blackfin arch: move HI/LO macros into blackfin.h and punt the rest of macros.h as it includes VDSP macros we never use
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/blackfin.h')
-rw-r--r-- | include/asm-blackfin/blackfin.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-blackfin/blackfin.h b/include/asm-blackfin/blackfin.h index 14e58de73973..db3b615ffbab 100644 --- a/include/asm-blackfin/blackfin.h +++ b/include/asm-blackfin/blackfin.h @@ -6,7 +6,11 @@ #ifndef _BLACKFIN_H_ #define _BLACKFIN_H_ -#include <asm/macros.h> +#define LO(con32) ((con32) & 0xFFFF) +#define lo(con32) ((con32) & 0xFFFF) +#define HI(con32) (((con32) >> 16) & 0xFFFF) +#define hi(con32) (((con32) >> 16) & 0xFFFF) + #include <asm/mach/blackfin.h> #include <asm/bfin-global.h> |