Commit 7d5099d5a4d9e9b3ac7b3f8accc402a13c4d2da1

Authored by edgar_igl
1 parent 04ba529f

CRIS: Remove redundant code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5145 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 2 deletions
target-cris/helper.c
@@ -74,7 +74,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, @@ -74,7 +74,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
74 74
75 D(printf ("%s addr=%x pc=%x rw=%x\n", __func__, address, env->pc, rw)); 75 D(printf ("%s addr=%x pc=%x rw=%x\n", __func__, address, env->pc, rw));
76 address &= TARGET_PAGE_MASK; 76 address &= TARGET_PAGE_MASK;
77 - prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC;  
78 miss = cris_mmu_translate(&res, env, address, rw, mmu_idx); 77 miss = cris_mmu_translate(&res, env, address, rw, mmu_idx);
79 if (miss) 78 if (miss)
80 { 79 {
@@ -92,7 +91,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw, @@ -92,7 +91,6 @@ int cpu_cris_handle_mmu_fault (CPUState *env, target_ulong address, int rw,
92 { 91 {
93 phy = res.phy; 92 phy = res.phy;
94 prot = res.prot; 93 prot = res.prot;
95 - address &= TARGET_PAGE_MASK;  
96 r = tlb_set_page(env, address, phy, prot, mmu_idx, is_softmmu); 94 r = tlb_set_page(env, address, phy, prot, mmu_idx, is_softmmu);
97 } 95 }
98 if (r > 0) 96 if (r > 0)