linux/arch/mips
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
..
alchemy MIPS: Alchemy: Timer build fix 2009-05-14 13:50:27 +01:00
basler/excite platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
bcm47xx
boot
cavium-octeon MIPS: Cavium: Add struct clocksource * argument to octeon_cvmcount_read() 2009-05-14 13:50:29 +01:00
cobalt cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
configs
dec
emma Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask 2009-03-30 18:00:26 -07:00
fw
gt64120/wrppmc
include/asm asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
jazz Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask 2009-03-30 18:00:26 -07:00
kernel MIPS: Outline udelay and fix a few issues. 2009-06-08 16:57:51 +01:00
lasat cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
lemote/lm2e cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
lib MIPS: Outline udelay and fix a few issues. 2009-06-08 16:57:51 +01:00
math-emu
mipssim
mm MIPS: 64-bit: Fix system lockup. 2009-05-20 18:53:14 +01:00
mti-malta MIPS: Malta: make a needlessly global integer variable static 2009-03-30 14:49:45 +02:00
nxp clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
oprofile
pci
pmc-sierra MIPS: MSP71xx: Remove the RAMROOT functions 2009-05-14 13:50:29 +01:00
rb532
sgi-ip22 MIPS: IP22: Fix hang in power button interrupt handler 2009-05-20 18:53:13 +01:00
sgi-ip27 clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
sgi-ip32 MIPS: IP32: Remove unnecessary if not even harmful volatile keywords. 2009-05-22 13:52:06 +01:00
sibyte MIPS: Sibyte: Honor CONFIG_CMDLINE 2009-06-08 16:57:50 +01:00
sni Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask 2009-03-30 18:00:26 -07:00
txx9 MIPS: TXx9: Fix possible overflow in clock calculations 2009-05-14 13:50:27 +01:00
vr41xx cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
Kconfig MIPS: Cobalt: PCI bus is always required to obtain the board ID 2009-06-08 16:57:50 +01:00
Kconfig.debug
Makefile MIPS: IP28: Change to build with -mr10k-cache-barrier=store 2009-05-20 18:53:13 +01:00