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
..
2012-05-08 11:43:51 +02:00
2013-02-10 18:56:14 +01:00
2011-07-22 18:46:37 +02:00
2011-07-22 18:46:41 +02:00
2012-03-28 18:30:03 +01:00
2012-09-21 08:09:54 +02:00
2012-03-28 15:58:21 -07:00
2011-07-22 18:46:34 +02:00
2012-03-28 15:58:21 -07:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:30 +02:00