linux-stable-rt/include/asm-frv
David Howells 29da7eb0ec [PATCH] FRV: Use the correct preemption primitives in kmap_atomic() and co
Use inc/dec_preempt_count() rather than preempt_enable/disable() and manually
add in the compiler barriers that were provided by the latter.  This makes FRV
consistent with other archs.

Furthermore, the compiler barrier effects are now there unconditionally - at
least as far as preemption is concerned - because we don't want the compiler
moving memory accesses out of the section of code in which the mapping is in
force - in effect the kmap_atomic() must imply a LOCK-class barrier and the
kunmap_atomic() must imply an UNLOCK-class barrier to the compiler.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-16 08:32:29 -07:00
..
Kbuild
a.out.h
atomic.h
auxvec.h
ax88796.h
bitops.h [PATCH] FRV: Optimise ffs() 2006-09-26 08:48:54 -07:00
bug.h
bugs.h
busctl-regs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cpu-irqs.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
cpumask.h
cputime.h
current.h
delay.h
div64.h
dm9000.h
dma-mapping.h
dma.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
elf.h [PATCH] FDPIC: Add coredump capability for the ELF-FDPIC binfmt 2006-07-10 13:24:22 -07:00
emergency-restart.h
errno.h
fcntl.h
fpu.h
futex.h
gdb-stub.h [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
gpio-regs.h
hardirq.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
highmem.h [PATCH] FRV: Use the correct preemption primitives in kmap_atomic() and co 2006-10-16 08:32:29 -07:00
hw_irq.h
ide.h
init.h
io.h [PATCH] Consolidate check_signature 2006-10-11 11:14:23 -07:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irc-regs.h
irq.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
irq_regs.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
kmap_types.h
linkage.h
local.h
math-emu.h
mb-regs.h
mb86943a.h
mb93091-fpga-irqs.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
mb93093-fpga-irqs.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
mb93493-irqs.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
mb93493-regs.h [PATCH] FRV: Use the generic IRQ stuff 2006-09-26 08:48:53 -07:00
mc146818rtc.h
mem-layout.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
namei.h fix file specification in comments 2006-10-03 23:01:26 +02:00
page.h
param.h
pci.h
percpu.h
pgalloc.h
pgtable.h [PATCH] paravirt: remove set pte atomic 2006-10-01 00:39:34 -07:00
poll.h
posix_types.h
processor.h [PATCH] Make cpu_relax() imply barrier() on all arches 2006-07-12 12:56:45 -07:00
ptrace.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
registers.h [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
resource.h
scatterlist.h
sections.h
segment.h
semaphore.h
sembuf.h
serial-regs.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [PATCH] irq-flags: FRV: Use the new IRQF_ constants 2006-07-02 13:58:46 -07:00
smp.h
socket.h
sockios.h
spinlock.h
spr-regs.h
stat.h
statfs.h
string.h
suspend.h
system.h [PATCH] remove set_wmb - arch removal 2006-07-14 21:56:14 -07:00
termbits.h
termios.h
thread_info.h [PATCH] FRV: Introduce asm-offsets for FRV arch 2006-07-10 13:24:22 -07:00
timer-regs.h
timex.h [PATCH] ntp: cleanup defines and comments 2006-10-01 00:39:27 -07:00
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h [PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references 2006-10-02 07:57:23 -07:00
user.h
vga.h
virtconvert.h
xor.h