linux-stable-rt/include/asm-sh
Paul Mundt d02d6be5d5 sh: fix miscompilation of ip_fast_csum with gcc >= 4.3
As noted by Matthew Wilcox:

    Kyle McMartin just tracked down a bug on parisc to a missing
    "memory" clobber in the inline assembly implementation of
    ip_fast_csum.  The FRV, SH and Xtensa ports are also missing a
    memory clobber, so I thought it would be polite to let you know.

    The bug manifests as dropped network packets (obviously they have
    the wrong checksum).  It started appearing for parisc with GCC 4.3.

    The GCC manual says:

     If your assembler instructions access memory in an unpredictable
     fashion, add `memory' to the list of clobbered registers.  This
     will cause GCC to not keep memory values cached in registers
     across the assembler instruction and not optimize stores or loads
     to that memory.

    I see that FRV has a 400 byte memory output which may prevent this
    problem from appearing, but SH and Xtensa have nothing to prevent
    this bug.  Hope this saves you a few days of debugging.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-06-02 12:40:14 +09:00
..
cpu-sh2
cpu-sh2a
cpu-sh3 sh: Fix DMAC base address for SH7709S 2008-05-09 19:04:12 +09:00
cpu-sh4
cpu-sh5
dreamcast
hd64465
landisk
sh03
.gitignore
Kbuild
a.out.h
adc.h
addrspace.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
auxvec.h
bitops-grb.h
bitops-irq.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
checksum_32.h sh: fix miscompilation of ip_fast_csum with gcc >= 4.3 2008-06-02 12:40:14 +09:00
checksum_64.h
clock.h
cmpxchg-grb.h
cmpxchg-irq.h
cpu-features.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmabrg.h
edosk7705.h
elf.h
emergency-restart.h
entry-macros.S
errno.h
fb.h
fcntl.h
fixmap.h
flat.h
fpu.h
freq.h
futex-irq.h
futex.h
gpio.h
hardirq.h
hd64461.h
heartbeat.h
hp6xx.h
hugetlb.h
hw_irq.h sh: add interrupt ack code to sh3 2008-05-08 19:52:03 +09:00
i2c-sh7760.h
ide.h
ilsel.h
io.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
io_generic.h
io_trapped.h
ioctl.h
ioctls.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
irqflags_32.h
irqflags_64.h
kdebug.h
kexec.h
kgdb.h sh: use the common ascii hex helpers 2008-05-16 15:09:08 +09:00
kmap_types.h
kvm.h
lboxre2.h
linkage.h
local.h
machvec.h
magicpanelr2.h
mc146818rtc.h
microdev.h
migor.h
mman.h
mmu.h
mmu_context.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
mmu_context_32.h
mmu_context_64.h
mmzone.h sh: add memory resources to /proc/iomem 2008-05-08 19:51:51 +09:00
module.h
msgbuf.h
mutex.h
namei.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pgtable_32.h
pgtable_64.h
pm.h
poll.h
posix_types.h
posix_types_32.h
posix_types_64.h
processor.h
processor_32.h
processor_64.h
ptrace.h
push-switch.h
r7780rp.h sh: r7780rp: Kill off unneded ifdefs for irq setup. 2008-05-08 19:51:44 +09:00
resource.h
rtc.h
rts7751r2d.h
rwsem.h
scatterlist.h
sdk7780.h
se.h
se7206.h
se7343.h
se7721.h
se7722.h
se7751.h
se7780.h
sections.h
segment.h
semaphore.h
sembuf.h
serial.h
setup.h
sfp-machine.h
sh_bios.h
sh_keysc.h
shmbuf.h
shmin.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smc37c93x.h
smp.h
snapgear.h
socket.h
sockios.h
sparsemem.h
spi.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
string_32.h
string_64.h
system.h
system_32.h
system_64.h
systemh7751.h
termbits.h
termios.h
thread_info.h
timer.h
timex.h
titan.h
tlb.h
tlb_64.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
tlbflush.h
topology.h sh: Stub in cpu_to_node() and friends for NUMA build. 2008-05-08 13:40:17 +09:00
types.h
uaccess.h
uaccess_32.h
uaccess_64.h sh64: Fixup the nommu build. 2008-05-08 19:51:37 +09:00
ubc.h
ucontext.h
unaligned.h
unistd.h
unistd_32.h
unistd_64.h
user.h
vga.h
watchdog.h
xor.h