linux/arch/microblaze/include/asm
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
..
atomic.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
auxvec.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
bitops.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h microblaze_v8: bug headers files 2009-03-27 14:25:32 +01:00
bugs.h microblaze_v8: bug headers files 2009-03-27 14:25:32 +01:00
byteorder.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
cache.h microblaze: Remove uncache shadow condition 2009-04-23 16:09:16 +02:00
cacheflush.h microblaze_v8: cache support 2009-03-27 14:25:16 +01:00
checksum.h microblaze_v8: checksum support 2009-03-27 14:25:22 +01:00
clinkage.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
cpuinfo.h microblaze_v8: Cpuinfo handling 2009-03-27 14:25:11 +01:00
cputable.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
cputime.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
current.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
delay.h microblaze_v8: delay.h, timex.h 2009-03-27 14:25:27 +01:00
device.h microblaze_v8: device.h param.h topology.h 2009-03-27 14:25:44 +01:00
div64.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
dma-mapping.h microblaze_v8: dma support 2009-03-27 14:25:35 +01:00
dma.h microblaze_v8: dma support 2009-03-27 14:25:35 +01:00
elf.h microblaze_v8: headers for executables format FLAT, ELF 2009-03-27 14:25:34 +01:00
emergency-restart.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
entry.h microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too 2009-04-23 16:27:33 +02:00
errno.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
exceptions.h microblaze: Add missing declaration for die and _exception func 2009-04-23 16:09:17 +02:00
fcntl.h microblaze_v8: fcntl.h sockios.h ucontext.h 2009-03-27 14:25:45 +01:00
flat.h microblaze_v8: headers for executables format FLAT, ELF 2009-03-27 14:25:34 +01:00
ftrace.h microblaze: Add missing empty ftrace.h file 2009-04-14 10:37:18 +02:00
futex.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
gpio.h microblaze_v8: gpio.h, serial.h 2009-03-27 14:25:42 +01:00
hardirq.h microblaze_v8: headers for irq 2009-03-27 14:25:35 +01:00
hw_irq.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
io.h microblaze: remove duplicated #include's 2009-04-14 11:09:15 +02:00
ioctl.h microblaze_v8: ioctl support 2009-03-27 14:25:33 +01:00
ioctls.h microblaze_v8: ioctl support 2009-03-27 14:25:33 +01:00
ipc.h microblaze_v8: IPC support 2009-03-27 14:25:28 +01:00
ipcbuf.h microblaze_v8: IPC support 2009-03-27 14:25:28 +01:00
irq_regs.h microblaze_v8: headers for irq 2009-03-27 14:25:35 +01:00
irq.h microblaze_v8: Interrupt handling and timer support 2009-03-27 14:25:49 +01:00
irqflags.h microblaze_v8: headers for irq 2009-03-27 14:25:35 +01:00
Kbuild microblaze_v8: Kbuild file 2009-03-27 14:25:47 +01:00
kdebug.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
kmap_types.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
linkage.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
lmb.h microblaze_v8: lmb include file 2009-03-27 14:25:18 +01:00
local.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
mman.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
mmu_context.h microblaze_v8: memory inicialization, MMU, TLB 2009-03-27 14:25:29 +01:00
mmu.h microblaze_v8: memory inicialization, MMU, TLB 2009-03-27 14:25:29 +01:00
module.h microblaze_v8: kernel modules support 2009-03-27 14:25:17 +01:00
msgbuf.h microblaze_v8: includes SHM*, msgbuf 2009-03-27 14:25:31 +01:00
mutex.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
namei.h microblaze_v8: namei.h 2009-03-27 14:25:42 +01:00
of_device.h microblaze_v8: Open firmware files 2009-03-27 14:25:12 +01:00
of_platform.h of: make of_(un)register_platform_driver common code 2009-05-02 15:36:10 -07:00
page.h microblaze_v8: page.h, segment.h, unaligned.h 2009-03-27 14:25:30 +01:00
param.h microblaze_v8: device.h param.h topology.h 2009-03-27 14:25:44 +01:00
pci-bridge.h microblaze_v8: pci headers 2009-03-27 14:25:48 +01:00
pci.h microblaze_v8: pci headers 2009-03-27 14:25:48 +01:00
percpu.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
pgalloc.h microblaze_v8: headers pgalloc.h pgtable.h 2009-03-27 14:25:37 +01:00
pgtable.h microblaze_v8: headers pgalloc.h pgtable.h 2009-03-27 14:25:37 +01:00
poll.h microblaze_v8: pool.h socket.h 2009-03-27 14:25:44 +01:00
posix_types.h microblaze_v8: definitions of types 2009-03-27 14:25:32 +01:00
processor.h microblaze: Add STATE_SAVE_ARG_SPACE for noMMU kernel too 2009-04-23 16:27:33 +02:00
prom.h microblaze_v8: Open firmware files 2009-03-27 14:25:12 +01:00
ptrace.h microblaze: Rename kernel_mode to pt_mode in pt_regs 2009-04-23 16:09:17 +02:00
pvr.h microblaze_v8: PVR support, cpuinfo support 2009-03-27 14:25:18 +01:00
registers.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
resource.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00
scatterlist.h microblaze_v8: dma support 2009-03-27 14:25:35 +01:00
sections.h microblaze_v8: clinkage.h linkage.h sections.h kmap_types.h 2009-03-27 14:25:38 +01:00
segment.h microblaze_v8: page.h, segment.h, unaligned.h 2009-03-27 14:25:30 +01:00
selfmod.h microblaze_v8: Selfmodified code 2009-03-27 14:25:15 +01:00
sembuf.h microblaze_v8: headers files entry.h current.h mman.h registers.h sembuf.h 2009-03-27 14:25:43 +01:00
serial.h microblaze_v8: gpio.h, serial.h 2009-03-27 14:25:42 +01:00
setup.h microblaze_v8: setup.c, setup.h - system setting 2009-03-27 14:25:24 +01:00
shmbuf.h microblaze_v8: includes SHM*, msgbuf 2009-03-27 14:25:31 +01:00
shmparam.h microblaze_v8: includes SHM*, msgbuf 2009-03-27 14:25:31 +01:00
sigcontext.h microblaze_v8: sigcontext.h siginfo.h 2009-03-27 14:25:40 +01:00
siginfo.h microblaze_v8: sigcontext.h siginfo.h 2009-03-27 14:25:40 +01:00
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
socket.h microblaze: Add TIMESTAMPING constants to socket.h 2009-04-14 10:37:20 +02:00
sockios.h microblaze_v8: fcntl.h sockios.h ucontext.h 2009-03-27 14:25:45 +01:00
stat.h microblaze_v8: stats headers 2009-03-27 14:25:39 +01:00
statfs.h microblaze_v8: stats headers 2009-03-27 14:25:39 +01:00
string.h microblaze_v8: string.h thread_info.h 2009-03-27 14:25:47 +01:00
swab.h microblaze_v8: atomic.h bitops.h swab.h byteorder.h 2009-03-27 14:25:36 +01:00
syscalls.h microblaze_v8: syscalls.h 2009-03-27 14:25:49 +01:00
system.h microblaze_v8: system.h processor.h 2009-03-27 14:25:37 +01:00
termbits.h microblaze_v8: termbits.h termios.h 2009-03-27 14:25:40 +01:00
termios.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
thread_info.h microblaze_v8: string.h thread_info.h 2009-03-27 14:25:47 +01:00
timex.h microblaze_v8: delay.h, timex.h 2009-03-27 14:25:27 +01:00
tlb.h microblaze_v8: memory inicialization, MMU, TLB 2009-03-27 14:25:29 +01:00
tlbflush.h microblaze_v8: memory inicialization, MMU, TLB 2009-03-27 14:25:29 +01:00
topology.h microblaze_v8: device.h param.h topology.h 2009-03-27 14:25:44 +01:00
types.h microblaze_v8: definitions of types 2009-03-27 14:25:32 +01:00
uaccess.h microblaze_v8: uaccess files 2009-03-27 14:25:23 +01:00
ucontext.h microblaze_v8: fcntl.h sockios.h ucontext.h 2009-03-27 14:25:45 +01:00
unaligned.h microblaze_v8: page.h, segment.h, unaligned.h 2009-03-27 14:25:30 +01:00
unistd.h microblaze: Add missing preadv and pwritev syscalls 2009-04-23 16:09:17 +02:00
user.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
vga.h microblaze: Fix problem with removing zero length files 2009-04-14 10:37:09 +02:00
xor.h microblaze_v8: headers simple files - empty or redirect to asm-generic 2009-03-27 14:25:41 +01:00