linux/arch/parisc/include/asm
Helge Deller 7d17e27631 parisc: fix ldcw inline assembler
There are two reasons to expose the memory *a in the asm:

1) To prevent the compiler from discarding a preceeding write to *a, and
2) to prevent it from caching *a in a register over the asm.

The change has had a few days testing with a SMP build of 2.6.22.19
running on a rp3440.

This patch is about the correctness of the __ldcw() macro itself.
The use of the macro should be confined to small inline functions
to try to limit the effect of clobbering memory on GCC's optimization
of loads and stores.

Signed-off-by: Dave Anglin <dave.anglin@nrc-cnrc.gc.ca>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
2009-07-03 03:34:07 +00:00
..
agp.h
asmregs.h
assembly.h parisc: fix 64bit build 2009-03-13 01:18:56 -04:00
atomic.h parisc: Remove casts from atomic macros 2009-07-03 03:34:06 +00:00
auxvec.h
bitops.h
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h
bugs.h
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h
cacheflush.h parisc: fix build when ARCH_HAS_KMAP 2009-04-02 02:42:53 +00:00
checksum.h parisc: fix ipv6 checksum 2009-01-05 19:11:05 +00:00
compat_rt_sigframe.h
compat_signal.h
compat_ucontext.h
compat.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h Documentation: move DMA-mapping.txt to Doc/PCI/ 2009-01-29 18:19:29 -08:00
dma.h parisc: remove CVS keywords 2009-07-03 03:34:06 +00:00
eisa_bus.h
eisa_eeprom.h
elf.h parisc: Move kernel Elf_Fdesc define to <asm/elf.h> 2009-04-02 04:16:24 +00:00
emergency-restart.h
errno.h cfg80211: errno.h: define ERFKILL 2009-06-07 05:01:00 -07:00
fb.h
fcntl.h
fixmap.h
floppy.h
ftrace.h parisc: add ftrace (function and graph tracer) functionality 2009-03-31 02:51:34 +00:00
futex.h
grfioctl.h
hardirq.h
hardware.h
hw_irq.h
ide.h
io.h parisc: define x->x mmio accessors 2009-03-13 01:20:48 -04:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h parisc: convert cpu_check_affinity to new cpumask api 2009-03-13 01:20:27 -04:00
Kbuild byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
kdebug.h
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
led.h
linkage.h
local.h
machdep.h
mc146818rtc.h
mckinley.h
mman.h
mmu_context.h parisc: fix braino in commit adding __space_to_prot 2009-01-05 18:15:25 +00:00
mmu.h
mmzone.h
module.h parisc: fix module loading failure of large kernel modules 2009-01-05 08:40:14 +10:30
msgbuf.h
mutex.h
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h
parisc-device.h parisc: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-26 22:22:41 +00:00
parport.h
pci.h Delete pcibios_select_root 2009-06-17 14:04:42 -07:00
pdc_chassis.h
pdc.h parisc: asm/pdc.h should include asm/page.h 2009-04-02 00:20:15 +00:00
pdcpat.h
percpu.h
perf.h
pgalloc.h
pgtable.h parisc: fix usage of 32bit PTE page table entries on 32bit kernels 2009-03-31 02:51:33 +00:00
poll.h
posix_types.h parisc: __kernel_time_t is always long 2008-11-26 22:22:36 +00:00
prefetch.h
processor.h parisc: Replace NR_CPUS in parisc code 2009-01-05 19:09:02 +00:00
psw.h
ptrace.h remove __ARCH_WANT_COMPAT_SYS_PTRACE 2008-11-30 11:00:15 -08:00
real.h
resource.h
ropes.h
rt_sigframe.h
rtc.h
runway.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h cpumask: arch_send_call_function_ipi_mask: parisc 2009-03-16 14:19:37 +10:30
socket.h net: new user space API for time stamping of incoming and outgoing packets 2009-02-15 22:43:33 -08:00
sockios.h
spinlock_types.h
spinlock.h Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
stat.h
statfs.h
string.h
superio.h
swab.h headers_check fix: parisc, swab.h 2009-02-01 11:01:27 +05:30
system.h parisc: fix ldcw inline assembler 2009-07-03 03:34:07 +00:00
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h parisc: disable UP-optimized flush_tlb_mm 2008-12-23 17:03:21 -08:00
topology.h
traps.h
types.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
uaccess.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
ucontext.h
unaligned.h
unistd.h parisc: wire up preadv/pwritev syscalls 2009-07-03 03:34:05 +00:00
unwind.h
user.h
vga.h
xor.h