diff options
author | Andreas Färber <afaerber@suse.de> | 2013-09-03 13:59:37 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:52:47 +0100 |
commit | 0c591eb0a9d0593d71d7cb61f4184222ac14fdd2 (patch) | |
tree | 27fc876065b6ed65266b3615a424e6e2cafdfd30 /target-openrisc/mmu.c | |
parent | 00c8cb0a36f51a6866a83c08962d12a0eb21864b (diff) |
cputlb: Change tlb_set_page() argument to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-openrisc/mmu.c')
-rw-r--r-- | target-openrisc/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-openrisc/mmu.c b/target-openrisc/mmu.c index 4222219acd..750a93636b 100644 --- a/target-openrisc/mmu.c +++ b/target-openrisc/mmu.c @@ -187,7 +187,7 @@ int openrisc_cpu_handle_mmu_fault(CPUState *cs, address, rw); if (ret == TLBRET_MATCH) { - tlb_set_page(&cpu->env, address & TARGET_PAGE_MASK, + tlb_set_page(cs, address & TARGET_PAGE_MASK, physical & TARGET_PAGE_MASK, prot, mmu_idx, TARGET_PAGE_SIZE); ret = 0; |