Peter Zijlstra
a866374aec
[PATCH] mm: pagefault_{disable,enable}()
...
Introduce pagefault_{disable,enable}() and use these where previously we did
manual preempt increments/decrements to make the pagefault handler do the
atomic thing.
Currently they still rely on the increased preempt count, but do not rely on
the disabled preemption, this might go away in the future.
(NOTE: the extra barrier() in pagefault_disable might fix some holes on
machines which have too many registers for their own good)
[heiko.carstens@de.ibm.com: s390 fix]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <npiggin@suse.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:21 -08:00
..
iseries
[POWERPC] Refactor 64 bits DMA operations
2006-12-04 20:38:40 +11:00
8253pit.h
a.out.h
abs_addr.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
agp.h
asm-compat.h
[POWERPC] Support feature fixups in vdso's
2006-10-25 11:54:07 +10:00
atomic.h
power: improve inline asm memory constraints
2006-07-08 15:00:28 -07:00
auxvec.h
backlight.h
[PATCH] powermac: More powermac backlight fixes
2006-07-31 13:28:45 -07:00
bitops.h
power: improve inline asm memory constraints
2006-07-08 15:00:28 -07:00
bootx.h
btext.h
bug.h
[PATCH] Let WARN_ON/WARN_ON_ONCE return the condition
2006-09-29 09:18:06 -07:00
bugs.h
byteorder.h
cache.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
cacheflush.h
cell-pmu.h
[POWERPC] cell: Add oprofile support
2006-12-04 20:40:14 +11:00
checksum.h
[NET]: POWERPC checksum annotations and cleanups.
2006-12-02 21:23:20 -08:00
compat.h
cputable.h
[POWERPC] Fix cputable.h for combined build
2006-12-04 20:41:59 +11:00
cputime.h
[PATCH] powerpc: implement missing jiffies64_to_cputime64()
2006-07-05 09:39:54 -07:00
current.h
[POWERPC] Make current preempt-safe
2006-11-01 14:52:48 +11:00
dbdma.h
[POWERPC] Xserve cpu-meter driver
2006-12-04 20:39:30 +11:00
dcr-mmio.h
[POWERPC] Generic DCR infrastructure
2006-12-04 16:08:25 +11:00
dcr-native.h
[POWERPC] Generic DCR infrastructure
2006-12-04 16:08:25 +11:00
dcr.h
[POWERPC] Generic DCR infrastructure
2006-12-04 16:08:25 +11:00
delay.h
[POWERPC] Fix mdelay badness on shared processor partitions
2006-06-21 15:01:33 +10:00
device.h
[POWERPC] Refactor 64 bits DMA operations
2006-12-04 20:38:40 +11:00
div64.h
dma-mapping.h
[POWERPC] Add an optional offset to direct DMA on 64 bits
2006-12-04 20:38:57 +11:00
dma.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
eeh.h
[POWERPC] Merge 32 and 64 bits asm-powerpc/io.h
2006-12-04 20:39:05 +11:00
eeh_event.h
[PATCH] powerpc/pseries: clear PCI failure counter if no new failures
2006-04-22 18:46:13 +10:00
elf.h
[POWERPC] cell: fix building without spufs
2006-12-04 20:41:12 +11:00
emergency-restart.h
errno.h
fcntl.h
firmware.h
[POWERPC] ps3: multiplatform build fixes
2006-12-04 20:41:16 +11:00
floppy.h
[PATCH] irq-flags: POWERPC: Use the new IRQF_ constants
2006-07-02 13:58:47 -07:00
fs_pd.h
POWERPC: Get rid of remapping the whole immr
2006-09-21 22:37:58 +04:00
futex.h
[PATCH] mm: pagefault_{disable,enable}()
2006-12-07 08:39:21 -08:00
grackle.h
hardirq.h
heathrow.h
hvcall.h
[POWERPC] powerpc: Instrument Hypervisor Calls
2006-09-13 18:39:53 +10:00
hvconsole.h
[PATCH] powerpc: hvc_console updates
2006-03-28 16:45:26 +11:00
hvcserver.h
hw_irq.h
[POWERPC] Provide dummy hard_irq_enable/disable() for PPC32
2006-12-04 20:41:27 +11:00
i8259.h
[POWERPC] Fix CHRP platforms with only 8259
2006-10-25 13:49:22 +10:00
ibmebus.h
[POWERPC] Refactor 64 bits DMA operations
2006-12-04 20:38:40 +11:00
ide.h
[POWERPC] Merge 32 and 64 bits asm-powerpc/io.h
2006-12-04 20:39:05 +11:00
immap_86xx.h
[POWERPC] Add 8641 Register space and IRQ definitions.
2006-06-21 15:01:28 +10:00
immap_qe.h
[PATCH] Optimize qe_brg struct to use an array
2006-11-13 14:49:01 +11:00
io-defs.h
[POWERPC] Merge 32 and 64 bits asm-powerpc/io.h
2006-12-04 20:39:05 +11:00
io.h
[POWERPC] include/asm-powerpc/: "extern inline" -> "static inline"
2006-12-04 20:41:26 +11:00
ioctl.h
ioctls.h
iommu.h
[POWERPC] Cell iommu support
2006-12-04 20:39:02 +11:00
ipc.h
ipcbuf.h
ipic.h
[POWERPC] Fix up after irq changes
2006-10-07 22:08:26 +10:00
irq.h
[POWERPC] add virq_to_hw accessor routine
2006-12-04 20:40:37 +11:00
irq_regs.h
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
irqflags.h
[PATCH] lockdep: irqtrace subsystem, core
2006-07-03 15:27:03 -07:00
Kbuild
[POWERPC] spufs: Add /lslr, /dma_info and /proxydma files
2006-12-04 20:39:45 +11:00
kdebug.h
[PATCH] Notify page fault call chain for powerpc
2006-06-26 09:58:22 -07:00
kdump.h
[POWERPC] kdump: Support kernels having 64k page size.
2006-09-13 18:30:04 +10:00
kexec.h
[POWERPC] Make crash.c work on 32-bit and 64-bit
2006-08-17 16:41:10 +10:00
keylargo.h
kmap_types.h
kprobes.h
[PATCH] kprobes: handle symbol resolution when <module:.symbol> is specified
2006-10-02 07:57:16 -07:00
linkage.h
lmb.h
local.h
lppaca.h
[POWERPC] Update lppaca offset comments
2006-08-08 17:08:58 +10:00
lv1call.h
[POWERPC] ps3: add lv1 hvcalls
2006-12-04 20:40:44 +11:00
machdep.h
[POWERPC] Merge 32 and 64 bits asm-powerpc/io.h
2006-12-04 20:39:05 +11:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu.h
[POWERPC] Make pSeries_lpar_hpte_insert static
2006-10-16 16:33:04 +10:00
mmu_context.h
[POWERPC] Correct the MAX_CONTEXT definition
2006-06-29 16:16:15 +10:00
mmzone.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
module.h
mpc52xx.h
[POWERPC] Add common routines for 52xx support in arch/powerpc
2006-12-04 20:41:42 +11:00
mpc85xx.h
[PATCH] ppc: Fix io.h for config with CONFIG_PCI not set
2006-11-13 14:49:25 +11:00
mpc86xx.h
[POWERPC] Use mpc8641hpcn PIC base address from dev tree.
2006-08-25 14:32:13 +10:00
mpic.h
[POWERPC] Improve MPIC driver auto-configuration from DT
2006-12-04 16:08:41 +11:00
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
[POWERPC] Refactor 64 bits DMA operations
2006-12-04 20:38:40 +11:00
of_platform.h
[POWERPC] Souped-up of_platform_device support
2006-12-04 16:08:52 +11:00
ohare.h
oprofile_impl.h
[POWERPC] cell: Add oprofile support
2006-12-04 20:40:14 +11:00
paca.h
[POWERPC] Lazy interrupt disabling for 64-bit machines
2006-10-16 16:31:36 +10:00
page.h
[POWERPC] Remove DISCONTIGMEM cruft from page.h
2006-09-22 15:19:58 +10:00
page_32.h
page_64.h
[PATCH] powerpc: Fix pagetable bloat for hugepages
2006-04-28 15:02:51 +10:00
param.h
parport.h
pci-bridge.h
[POWERPC] Add "parent" struct device for PCI host bridges
2006-12-04 20:38:47 +11:00
pci.h
[POWERPC] Refactor 64 bits DMA operations
2006-12-04 20:38:40 +11:00
percpu.h
[PATCH] lockdep: add per_cpu_offset()
2006-07-03 15:27:00 -07:00
pgalloc.h
[POWERPC] hugepage BUG fix
2006-08-24 10:07:23 +10:00
pgtable-4k.h
[PATCH] Standardize pxx_page macros
2006-09-26 08:48:51 -07:00
pgtable-64k.h
powerpc: Use 64k pages without needing cache-inhibited large pages
2006-06-15 10:45:18 +10:00
pgtable.h
[PATCH] Standardize pxx_page macros
2006-09-26 08:48:51 -07:00
pmac_feature.h
[PATCH] powerpc: Kill _machine and hard-coded platform numbers
2006-03-28 23:15:54 +11:00
pmac_low_i2c.h
pmac_pfunc.h
typo fixes: mecanism -> mechanism
2006-06-30 18:20:44 +02:00
pmc.h
[POWERPC] Fix oprofile support for e500 in arch/powerpc
2006-11-01 14:52:48 +11:00
poll.h
[PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications
2006-03-25 08:22:56 -08:00
posix_types.h
ppc-pci.h
[POWERPC] Generic OF platform driver for PCI host bridges.
2006-12-04 20:38:49 +11:00
ppc_asm.h
[POWERPC] Cell timebase bug workaround
2006-10-25 11:54:18 +10:00
processor.h
[PATCH] Remove _machine macro
2006-11-13 14:44:58 +11:00
prom.h
Merge branch 'linux-2.6' into for-linus
2006-12-04 15:59:07 +11:00
ps3.h
[POWERPC] ps3: add ps3 platform system bus support
2006-12-04 20:40:57 +11:00
pSeries_reconfig.h
ptrace.h
[PATCH] Add regs_return_value() helper
2006-10-02 07:57:16 -07:00
qe.h
[POWERPC] Add QUICC Engine (QE) infrastructure
2006-10-04 15:24:27 +10:00
qe_ic.h
[POWERPC] Add QUICC Engine (QE) infrastructure
2006-10-04 15:24:27 +10:00
reg.h
[POWERPC] Cell timebase bug workaround
2006-10-25 11:54:18 +10:00
reg_8xx.h
resource.h
rtas.h
[POWERPC] Wrap cpu_die() with CONFIG_HOTPLUG_CPU
2006-12-04 20:39:29 +11:00
rtc.h
rwsem.h
[PATCH] lockdep: remove RWSEM_DEBUG remnants
2006-07-03 15:27:01 -07:00
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
[PATCH] irq-flags: POWERPC: Use the new IRQF_ constants
2006-07-02 13:58:47 -07:00
smp.h
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
2006-10-05 15:10:12 +01:00
smu.h
[POWERPC] powermac: Constify & voidify get_property()
2006-07-31 15:55:05 +10:00
socket.h
[AF_UNIX]: Datagram getpeersec
2006-06-29 16:58:06 -07:00
sockios.h
sparsemem.h
[POWERPC] ps3: add lpar addressing
2006-12-04 20:40:52 +11:00
spinlock.h
[PATCH] Directed yield: direct yield of spinlocks for powerpc
2006-10-01 00:39:22 -07:00
spinlock_types.h
spu.h
[POWERPC] cell: abstract spu management routines
2006-12-04 20:40:39 +11:00
spu_csa.h
[POWERPC] spufs: wrap mfc sdr access
2006-10-25 14:20:20 +10:00
spu_info.h
[POWERPC] spufs: Add /lslr, /dma_info and /proxydma files
2006-12-04 20:39:45 +11:00
spu_priv1.h
[POWERPC] cell: abstract spu management routines
2006-12-04 20:40:39 +11:00
sstep.h
stat.h
statfs.h
string.h
powerpc: fix strncasecmp prototype
2006-03-25 09:41:40 -08:00
synch.h
syscalls.h
[PATCH] powerpc: declare arch syscalls in <asm/syscalls.h>
2006-03-27 14:48:22 +11:00
systbl.h
[POWERPC] Wire up sys_move_pages
2006-11-16 10:31:14 +11:00
system.h
[POWERPC] Fix rmb() for e500-based machines it
2006-11-01 14:52:48 +11:00
tce.h
[POWERPC] Use 4kB iommu pages even on 64kB-page systems
2006-11-01 14:52:48 +11:00
termbits.h
[PATCH] Add CMSPAR to termbits.h for powerpc and alpha
2006-05-26 11:55:46 -07:00
termios.h
thread_info.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
time.h
[POWERPC] Revert "[POWERPC] Add powerpc get/set_rtc_time interface to new generic rtc class"
2006-11-22 12:13:36 +11:00
timex.h
[POWERPC] Cell timebase bug workaround
2006-10-25 11:54:18 +10:00
tlb.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
tlbflush.h
Don't include linux/config.h from anywhere else in include/
2006-04-26 12:56:16 +01:00
topology.h
[POWERPC] fix building without PCI
2006-12-04 20:41:21 +11:00
tsi108.h
[POWERPC] include/asm-powerpc/: "extern inline" -> "static inline"
2006-12-04 20:41:26 +11:00
tsi108_irq.h
[POWERPC] Update mpc7448hpc2 board irq support using device tree
2006-08-23 15:51:18 +10:00
types.h
[PATCH] Centralise definitions of sector_t and blkcnt_t
2006-12-04 19:41:15 -08:00
uaccess.h
[POWERPC] include/asm-powerpc/: "extern inline" -> "static inline"
2006-12-04 20:41:26 +11:00
ucc.h
[POWERPC] Add QUICC Engine (QE) infrastructure
2006-10-04 15:24:27 +10:00
ucc_fast.h
[POWERPC] Add QUICC Engine (QE) infrastructure
2006-10-04 15:24:27 +10:00
ucc_slow.h
[POWERPC] Add QUICC Engine (QE) infrastructure
2006-10-04 15:24:27 +10:00
ucontext.h
udbg.h
[POWERPC] Add udbg support for RTAS console
2006-06-28 11:59:48 +10:00
unaligned.h
uninorth.h
unistd.h
[POWERPC] Change ppc_rtas declaration to weak
2006-12-04 20:39:42 +11:00
user.h
vdso.h
vdso_datapage.h
[PATCH] powerpc: Kill _machine and hard-coded platform numbers
2006-03-28 23:15:54 +11:00
vga.h
[PATCH] vgacon: make VGA_MAP_MEM take size, remove extra use
2006-06-22 15:05:58 -07:00
vio.h
[POWERPC] Refactor 64 bits DMA operations
2006-12-04 20:38:40 +11:00
xmon.h
[POWERPC] add support for stopping spus from xmon
2006-10-25 14:20:22 +10:00
xor.h