GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / parisc / include / asm / bitsperlong.h
blob5af721c26b6112e285aaa5f34d1c1e72a5538647
1 #ifndef __ASM_PARISC_BITSPERLONG_H
2 #define __ASM_PARISC_BITSPERLONG_H
4 /*
5 * using CONFIG_* outside of __KERNEL__ is wrong,
6 * __LP64__ was also removed from headers, so what
7 * is the right approach on parisc?
8 * -arnd
9 */
10 #if (defined(__KERNEL__) && defined(CONFIG_64BIT)) || defined(__LP64__)
11 #define __BITS_PER_LONG 64
12 #define SHIFT_PER_LONG 6
13 #else
14 #define __BITS_PER_LONG 32
15 #define SHIFT_PER_LONG 5
16 #endif
18 #include <asm-generic/bitsperlong.h>
20 #endif /* __ASM_PARISC_BITSPERLONG_H */