kernel-ark/include/asm-powerpc
Paul Mackerras 6bfd93c32a powerpc: Fix incorrect might_sleep in __get_user/__put_user on kernel addresses
We have a case where __get_user and __put_user can validly be used
on kernel addresses in interrupt context - namely, the alignment
exception handler, as our get/put_unaligned just do a single access
and rely on the alignment exception handler to fix things up in the
rare cases where the cpu can't handle it in hardware.  Thus we can
get alignment exceptions in the network stack at interrupt level.
The alignment exception handler does a __get_user to read the
instruction and blows up in might_sleep().

Since a __get_user on a kernel address won't actually ever sleep,
this makes the might_sleep conditional on the address being less
than PAGE_OFFSET.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-05-03 23:06:46 +10:00
..
iseries
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h
auxvec.h
backlight.h
bitops.h
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h [PATCH] powerpc: Add cputable entry for POWER6 2006-04-29 10:56:58 +10:00
cputime.h
current.h
dbdma.h
delay.h
div64.h
dma-mapping.h
dma.h
eeh_event.h
eeh.h
elf.h
emergency-restart.h
errno.h
fcntl.h
firmware.h
floppy.h
futex.h
grackle.h
hardirq.h
heathrow.h
hvcall.h
hvconsole.h
hvcserver.h
hw_irq.h
i8259.h
ibmebus.h
ide.h
io.h [PATCH] powerpc: Use check_legacy_ioport() on ppc32 too. 2006-04-28 21:04:55 +10:00
ioctl.h
ioctls.h
iommu.h [PATCH] powerpc: IOMMU support for honoring dma_mask 2006-04-21 22:28:55 +10:00
ipc.h
ipcbuf.h
ipic.h
irq.h
kdebug.h
kdump.h
kexec.h
keylargo.h
kmap_types.h
kprobes.h
linkage.h
lmb.h
local.h
lppaca.h
machdep.h powerpc: Fix define_machine so machine_is() works from modules 2006-04-23 10:42:04 +10:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu_context.h
mmu.h
mmzone.h
module.h
mpic.h
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
ohare.h
oprofile_impl.h
paca.h
page_32.h
page_64.h [PATCH] powerpc: Fix pagetable bloat for hugepages 2006-04-28 15:02:51 +10:00
page.h
param.h
parport.h
pci-bridge.h
pci.h
percpu.h
pgalloc.h [PATCH] powerpc: Fix pagetable bloat for hugepages 2006-04-28 15:02:51 +10:00
pgtable-4k.h
pgtable-64k.h
pgtable.h
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
poll.h
posix_types.h
ppc_asm.h
ppc-pci.h
processor.h
prom.h
pSeries_reconfig.h
ptrace.h
reg_8xx.h
reg.h
resource.h
rtas.h
rtc.h
rwsem.h
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
smu.h
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
spu_csa.h
spu.h [PATCH] powerpc: cell: Add numa id to struct spu 2006-05-01 18:17:46 -07:00
sstep.h
stat.h
statfs.h
string.h
synch.h
syscalls.h
system.h
tce.h
termbits.h
termios.h
thread_info.h powerpc: Use correct sequence for putting CPU into nap mode 2006-04-18 21:49:11 +10:00
time.h
timex.h
tlb.h
tlbflush.h
topology.h [PATCH] powerpc: Allow devices to register with numa topology 2006-05-01 18:17:46 -07:00
types.h
uaccess.h powerpc: Fix incorrect might_sleep in __get_user/__put_user on kernel addresses 2006-05-03 23:06:46 +10:00
ucontext.h
udbg.h
unaligned.h
uninorth.h
unistd.h [PATCH] powerpc: Wire up *at syscalls 2006-04-28 21:04:59 +10:00
user.h
vdso_datapage.h
vdso.h
vga.h
vio.h
xmon.h
xor.h