linux-sg2042/arch/openrisc/kernel
Jonas Bonn a81252d75e openrisc: fix up vmalloc page table loading
vmalloc'ed pages are faulted into a process' page tables on demand.  In
order to facilitate this, do_page_fault needs to know whether it was
called via a page fault exception or a TLB-miss exception.

This patch adds a wrapper around the _x_page_fault_handler entry points
that the TLB-miss exceptions can call into in order to have the relevant
parameter set to satisfy do_page_fault.

This fixes a bug and is "good enough" for now.  That said, this whole
handling of vmalloc needs to be audited for correctness at some point.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
2013-02-14 16:39:26 +01:00
..
Makefile openrisc: switch to use of generic fork and clone 2012-11-28 23:43:40 -05:00
asm-offsets.c openrisc: use kbuild.h instead of defining macros in asm-offset.c 2012-10-25 15:54:33 +02:00
dma.c openrisc: provide dma_map_ops 2012-05-08 11:43:51 +02:00
entry.S openrisc: fix up vmalloc page table loading 2013-02-14 16:39:26 +01:00
head.S openrisc: fix up vmalloc page table loading 2013-02-14 16:39:26 +01:00
idle.c openrisc idle: delete pm_idle 2013-02-10 18:56:14 +01:00
irq.c openrisc: mask interrupts in irq_mask_ack function 2012-10-11 11:27:26 +02:00
module.c OpenRISC: Module support 2011-07-22 18:46:37 +02:00
or32_ksyms.c OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
process.c flagday: don't pass regs to copy_thread() 2012-11-28 23:43:42 -05:00
prom.c Disintegrate asm/system.h for OpenRISC 2012-03-28 18:30:03 +01:00
ptrace.c audit: define AUDIT_ARCH_OPENRISC 2012-09-21 08:09:54 +02:00
setup.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
signal.c openrisk: fix altstack switching on sigreturn 2012-11-28 21:46:11 -05:00
sys_call_table.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
time.c openrisc: Set shortest clock event to 100 ticks 2012-02-17 10:08:19 +01:00
traps.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
vmlinux.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
vmlinux.lds.S OpenRISC: Build infrastructure 2011-07-22 18:46:30 +02:00