diff options
author | Simon Kagstrom | 2009-09-17 15:15:52 +0200 |
---|---|---|
committer | Wolfgang Denk | 2009-09-17 22:45:31 +0200 |
commit | 0413cfecea350000eab5e591a0965c3e3ee0ff00 (patch) | |
tree | 5375713a0a077db87d0d222ce591800f768a2ca5 /include/asm-m68k | |
parent | 15fba3279b56333bdb65ead366f82c945ed320d1 (diff) |
Correct ffs/fls regression for PowerPC etc
Commits
02f99901ed1c9d828e3ea117f94ce2264bf8389e
52d61227b66d4099b39c8309ab37cb67ee09a405
introduced a regression where platform-specific ffs/fls implementations
were defined away. This patch corrects that by using PLATFORM_xxx
instead of the name itself.
Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/asm-m68k')
-rw-r--r-- | include/asm-m68k/bitops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/bitops.h b/include/asm-m68k/bitops.h index e0c35fa7b05..ad971b4f31f 100644 --- a/include/asm-m68k/bitops.h +++ b/include/asm-m68k/bitops.h @@ -51,7 +51,7 @@ extern __inline__ int ffs(int x) return r; } #define __ffs(x) (ffs(x) - 1) -#define ffs +#define PLATFORM_FFS #endif /* __KERNEL__ */ |