linux-stable-rt/include/asm-mips
Arnd Bergmann 4b7775870b Introduce compat_u64 and compat_s64 types
One common problem with 32 bit system call and ioctl emulation is the
different alignment rules between i386 and 64 bit machines.  A number of
drivers work around this by marking the compat structures as
'attribute((packed))', which is not the right solution because it breaks
all the non-x86 architectures that want to use the same compat code.

Hopefully, this patch improves the situation, it introduces two new types,
compat_u64 and compat_s64.  These are defined on all architectures to have
the same size and alignment as the 32 bit version of u64 and s64.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Vasily Tarasov <vtaras@openvz.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:48 -07:00
..
arc
ddb5xxx
dec
emma2rh
ip32
jmr3927
mach-atlas
mach-au1x00 [MIPS] Make ioremap() work on TX39/49 special unmapped segment 2007-07-10 17:33:03 +01:00
mach-cobalt [MIPS] remove unused definitions for Cobalt 2007-07-10 17:32:55 +01:00
mach-db1x00
mach-dec
mach-emma2rh
mach-excite
mach-generic [MIPS] Make ioremap() work on TX39/49 special unmapped segment 2007-07-10 17:33:03 +01:00
mach-ip22 [MIPS] Allow generic spaces.h to be included by platform specific ones 2007-07-10 17:32:57 +01:00
mach-ip27 [MIPS] Allow generic spaces.h to be included by platform specific ones 2007-07-10 17:32:57 +01:00
mach-ip32 [MIPS] Allow generic spaces.h to be included by platform specific ones 2007-07-10 17:32:57 +01:00
mach-jazz
mach-jmr3927 [MIPS] Make ioremap() work on TX39/49 special unmapped segment 2007-07-10 17:33:03 +01:00
mach-lemote [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
mach-mips [MIPS] Early check for SMTC kernel on non-MT processor 2007-07-10 17:33:04 +01:00
mach-mipssim [MIPS] MIPSsim: Move code away from the other MIPS Inc. BSP code. 2007-07-10 17:32:56 +01:00
mach-ocelot
mach-pb1x00
mach-pnx8550
mach-qemu
mach-rm
mach-sibyte
mach-tx49xx [MIPS] Workaround for a sparse warning in include/asm-mips/mach-tx4927/ioremap.h 2007-07-13 17:40:01 +01:00
mach-vr41xx
mach-wrppmc
mach-yosemite
mips-boards [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
pci
pmc-sierra/msp71xx [MIPS] PMC MSP71xx PCI support 2007-07-10 17:33:03 +01:00
sgi Convert SGI IP22 and specific drivers to platform_device. 2007-05-11 17:00:29 +01:00
sibyte
sn
tx4927
tx4938 [MIPS] rbtx4938: Convert SPI codes to use generic SPI drivers 2007-07-10 17:33:03 +01:00
vr41xx [MIPS] Separate platform_device registration for VR41xx GPIO 2007-07-12 17:41:15 +01:00
xtalk
8253pit.h
Kbuild
a.out.h
abi.h
addrspace.h [MIPS] Cleanup TO_PHYS_MASK definition 2007-07-10 17:32:56 +01:00
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h [MIPS] Remove duplicate fpu enable hazard code. 2007-06-06 19:34:31 +01:00
atomic.h [MIPS] Fix build error in atomic64_cmpxchg 2007-05-11 14:28:33 +01:00
auxvec.h
barrier.h
bcache.h
bitops.h [MIPS] Remove a duplicated local variable in test_and_clear_bit() 2007-06-26 19:57:33 +02:00
bootinfo.h [MIPS] WRPPMC: Fix build. 2007-07-10 17:33:06 +01:00
branch.h
break.h
bug.h
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h
cacheops.h [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
checksum.h
compat-signal.h [MIPS] use compat_siginfo in rt_sigframe_n32 2007-06-26 19:57:33 +02:00
compat.h Introduce compat_u64 and compat_s64 types 2007-07-16 09:05:48 -07:00
compiler.h
cpu-features.h [MIPS] Enable support for the userlocal hardware register 2007-07-10 17:33:02 +01:00
cpu-info.h
cpu.h [MIPS] PMC MSP71xx mips common 2007-07-10 17:33:03 +01:00
cputime.h
current.h
debug.h
delay.h
device.h
div64.h [MIPS] Change names of local variables to silence sparse 2007-07-10 17:33:06 +01:00
dma-mapping.h
dma.h
ds1216.h
ds1286.h
dsp.h
elf.h
emergency-restart.h
errno.h
fcntl.h
fixmap.h
floppy.h
fpregdef.h
fpu.h [MIPS] FPU hazard handling 2007-05-11 14:28:31 +01:00
fpu_emulator.h
futex.h
gdb-stub.h
gfx.h
gpio.h [MIPS] Add generic GPIO support 2007-07-10 17:32:55 +01:00
gt64120.h
gt64240.h
hardirq.h
hazards.h [MIPS] SB1: Build fix. 2007-05-11 14:28:31 +01:00
highmem.h [MIPS] Remove LIMITED_DMA support 2007-05-11 14:28:31 +01:00
hw_irq.h
i8259.h
ide.h
inst.h
inventory.h
io.h [MIPS] Workaround for a sparse warning in include/asm-mips/io.h 2007-07-12 17:41:10 +01:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq.h [MIPS] SMTC: Interrupt mask backstop hack 2007-07-12 17:41:17 +01:00
irq_cpu.h
irq_regs.h
irqflags.h
isadep.h
jazz.h
jazzdma.h
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kexec.h kdump/kexec: calculate note size at compile time 2007-05-08 11:15:07 -07:00
kmap_types.h
kspd.h
linkage.h
local.h local_t: mips extension 2007-05-08 11:15:20 -07:00
m48t35.h
m48t37.h
marvell.h
mc146818-time.h
mc146818rtc.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h [MIPS] Change names of local variables to silence sparse (part 2) 2007-07-12 17:41:10 +01:00
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
msc01_ic.h [MIPS] MT: Reenable EIC support and add support for SOCit SC. 2007-05-11 14:28:31 +01:00
msgbuf.h
mutex.h
namei.h
paccess.h
page.h [MIPS] Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbols 2007-07-10 17:32:57 +01:00
param.h
parport.h
pci.h PCI: remove pci_dac_dma_... APIs 2007-07-11 16:02:11 -07:00
percpu.h
pgalloc.h Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h page table handling cleanup 2007-07-16 09:05:36 -07:00
pmon.h
poll.h Consolidate asm/poll.h 2007-05-11 08:29:34 -07:00
posix_types.h
prctl.h
prefetch.h
processor.h [MIPS] Convert init_thread initialization to ISO C initializers. 2007-07-10 17:33:02 +01:00
ptrace.h [MIPS] die(): Properly declare as non-returning 2007-07-04 15:53:15 +01:00
qemu.h
r4kcache.h
reboot.h
reg.h
regdef.h
resource.h
rm9k-ocd.h
rtlx.h
scatterlist.h PCI: scatterlist.h needs types.h 2007-05-02 19:02:34 -07:00
sections.h
segment.h
semaphore.h
sembuf.h
serial.h [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
setup.h
sgialib.h
sgiarcs.h
sgidefs.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sim.h
smp.h [MIPS] Remove unused cpu_callout_map and num_booting_cpus() 2007-07-10 17:32:55 +01:00
smtc.h
smtc_ipi.h
smtc_proc.h
sni.h [MIPS] SNI RM updates 2007-07-10 17:33:03 +01:00
socket.h
sockios.h
sparsemem.h
spinlock.h
spinlock_types.h
stackframe.h [MIPS] Fix KMODE for the R3000 2007-06-11 18:20:53 +01:00
stacktrace.h
stat.h
statfs.h
string.h
suspend.h
sysmips.h
system.h [MIPS] Non-FPAFF: Fix warning. 2007-07-10 17:33:05 +01:00
termbits.h lots-of-architectures: enable arbitary speed tty support 2007-07-10 17:51:13 -07:00
termios.h
thread_info.h
time.h
timex.h
titan_dep.h
tlb.h
tlbdebug.h [MIPS] Cleanup tlbdebug.h 2007-07-12 17:41:11 +01:00
tlbflush.h
topology.h
traps.h
tx3912.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h [MIPS] Add whitelists for checksyscalls.sh 2007-07-04 15:53:16 +01:00
user.h
vga.h
vpe.h
war.h [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
wbflush.h
xor.h
xxs1500.h