android_kernel_xiaomi_sm7250/arch/sh/include
Arnd Bergmann c31ae4bb4a asm-generic: introduce asm/bitsperlong.h
This provides a reliable way for asm-generic/types.h and other
files to find out if it is running on a 32 or 64 bit platform.

We cannot use CONFIG_64BIT for this in headers that are included
from user space because CONFIG symbols are not available there.
We also cannot do it inside of asm/types.h because some headers
need the word size but cannot include types.h.

The solution is to introduce a new header <asm/bitsperlong.h>
that defines both __BITS_PER_LONG for user space and
BITS_PER_LONG for usage in the kernel. The asm-generic
version falls back to 32 bit unless the architecture overrides
it, which I did for all 64 bit platforms.

Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2009-06-11 21:02:14 +02:00
..
asm asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
cpu-common/cpu sh: Allow SH-3 and SH-5 to use common headers. 2008-07-29 22:52:49 +09:00
cpu-sh2/cpu SH2(A) cache update 2008-08-04 16:33:47 +09:00
cpu-sh2a/cpu sh: Move the CPU definition headers from asm/ to cpu/. 2008-10-20 12:04:53 +09:00
cpu-sh3/cpu sh: dma-sh updates for multi IRQ and new SH-4A CPUs. 2009-03-10 17:26:49 +09:00
cpu-sh4/cpu sh: Tidy up sh7786 pinmux table. 2009-03-31 07:39:51 +09:00
cpu-sh5/cpu sh: Allow SH-3 and SH-5 to use common headers. 2008-07-29 22:52:49 +09:00
mach-common/mach sh: Urquell board support. 2009-03-03 16:22:00 +09:00
mach-dreamcast/mach sh: More header path fixups for mach dir refactoring. 2008-07-29 22:10:01 +09:00
mach-landisk/mach
mach-se/mach sh: mrshpc_setup_windows() needs to be inline. 2008-12-22 18:44:46 +09:00
mach-sh03/mach