diff options
author | Jonas Bonn <jonas@southpole.se> | 2013-02-14 16:16:49 +0100 |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2013-02-14 16:39:26 +0100 |
commit | a81252d75e14cc2cf0ee45078ef143562a0bc279 (patch) | |
tree | 7b8bb82ebd471c129788dade8667f4e4fae285dc /drivers/dma/mmp_tdma.c | |
parent | openrisc idle: delete pm_idle (diff) | |
download | linux-a81252d75e14cc2cf0ee45078ef143562a0bc279.tar.xz linux-a81252d75e14cc2cf0ee45078ef143562a0bc279.zip |
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>
Diffstat (limited to 'drivers/dma/mmp_tdma.c')
0 files changed, 0 insertions, 0 deletions