diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-03-26 04:39:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:09 -0500 |
commit | 4b417d0c7cb6af4afb7bad6463f7f3227d8a5074 (patch) | |
tree | 514ad66b1ee3286d877aa5d1cf18dc970bbe5722 /arch/alpha/lib/ev6-memchr.S | |
parent | 20548664aa2d98ba0ee3dde4482b0a96b9273b6f (diff) |
[PATCH] bitops: alpha: use config options instead of __alpha_fix__ and __alpha_cix__
Use config options instead of gcc builtin definition to tell the use of
instruction set extensions (CIX and FIX).
This is introduced to tell the kbuild system the use of opmized hweight*()
routines on alpha architecture.
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/alpha/lib/ev6-memchr.S')
-rw-r--r-- | arch/alpha/lib/ev6-memchr.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/lib/ev6-memchr.S b/arch/alpha/lib/ev6-memchr.S index a8e843dbcc23..1a5f71b9d8b1 100644 --- a/arch/alpha/lib/ev6-memchr.S +++ b/arch/alpha/lib/ev6-memchr.S | |||
@@ -84,7 +84,7 @@ $last_quad: | |||
84 | beq $2, $not_found # U : U L U L | 84 | beq $2, $not_found # U : U L U L |
85 | 85 | ||
86 | $found_it: | 86 | $found_it: |
87 | #if defined(__alpha_fix__) && defined(__alpha_cix__) | 87 | #ifdef CONFIG_ALPHA_EV67 |
88 | /* | 88 | /* |
89 | * Since we are guaranteed to have set one of the bits, we don't | 89 | * Since we are guaranteed to have set one of the bits, we don't |
90 | * have to worry about coming back with a 0x40 out of cttz... | 90 | * have to worry about coming back with a 0x40 out of cttz... |