1
linux/arch/mn10300/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
auxvec.h
bitops.h
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h MN10300: Stop gcc from generating uninitialised variable warnings after BUG() 2009-04-15 13:55:13 -07:00
bugs.h
busctl-regs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cpu-regs.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmactl-regs.h
elf.h
emergency-restart.h
errno.h
exceptions.h
fb.h
fcntl.h
fpu.h
frame.inc
ftrace.h
futex.h
gdb-stub.h
hardirq.h
highmem.h
hw_irq.h
intctl-regs.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq_regs.h
irq.h
Kbuild
kdebug.h
kmap_types.h
kprobes.h
linkage.h
local.h
mc146818rtc.h
mman.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
mmu_context.h
mmu.h
module.h
msgbuf.h
mutex.h
nmi.h
page_offset.h
page.h
param.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pio-regs.h
poll.h
posix_types.h
processor.h
ptrace.h
reset-regs.h
resource.h
rtc-regs.h
rtc.h
scatterlist.h
sections.h
sembuf.h
serial-regs.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
smp.h
socket.h
sockios.h
spinlock.h
stat.h
statfs.h
string.h
swab.h
system.h
termbits.h
termios.h
thread_info.h
timer-regs.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h MN10300: Wire up missing system calls 2009-04-15 13:55:13 -07:00
user.h
vga.h
xor.h