android_kernel_xiaomi_sm8350/arch/blackfin
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
..
boot
configs Blackfin arch: update default kernel configuration 2009-03-28 23:46:17 +08:00
include/asm asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
kernel Blackfin: ignore generated vmlinux.lds 2009-05-27 00:27:03 -04:00
lib Blackfin: fix strncmp.o build error 2009-05-27 00:27:05 -04:00
mach-bf518 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-bf527 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-bf533 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-bf537 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-bf538 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-bf548 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-bf561 tty: Blackin CTS/RTS 2009-04-07 08:44:05 -07:00
mach-common Blackfin: hook up preadv/pwritev syscalls 2009-05-27 00:27:00 -04:00
mm proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
Kconfig.debug Blackfin arch: use common KGDB_TESTS rather than our own KGDB_TESTCASE 2009-03-02 18:14:47 +08:00
Makefile Blackfin arch: line up machine-/cpu- vars after BF54xM addition 2009-02-04 16:49:45 +08:00