diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-02-28 06:15:40 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:30:45 +0200 |
commit | d437441ef5336874e934bd53a03159a584efe95a (patch) | |
tree | 1b1b83454186d47cb42016fde654be2a09917b6a /arch/mips/pci/ops-au1000.c | |
parent | Comment correction after further investigation of issue. (diff) | |
download | linux-d437441ef5336874e934bd53a03159a584efe95a.tar.xz linux-d437441ef5336874e934bd53a03159a584efe95a.zip |
No barrier needed on au1x.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/ops-au1000.c')
-rw-r--r-- | arch/mips/pci/ops-au1000.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/pci/ops-au1000.c b/arch/mips/pci/ops-au1000.c index 74d91054db09..be1420126c42 100644 --- a/arch/mips/pci/ops-au1000.c +++ b/arch/mips/pci/ops-au1000.c @@ -50,11 +50,6 @@ int (*board_pci_idsel)(unsigned int devsel, int assert); -/* CP0 hazard avoidance. */ -#define BARRIER __asm__ __volatile__(".set noreorder\n\t" \ - "nop; nop; nop; nop;\t" \ - ".set reorder\n\t") - void mod_wired_entry(int entry, unsigned long entrylo0, unsigned long entrylo1, unsigned long entryhi, unsigned long pagemask) @@ -66,16 +61,12 @@ void mod_wired_entry(int entry, unsigned long entrylo0, old_ctx = read_c0_entryhi() & 0xff; old_pagemask = read_c0_pagemask(); write_c0_index(entry); - BARRIER; write_c0_pagemask(pagemask); write_c0_entryhi(entryhi); write_c0_entrylo0(entrylo0); write_c0_entrylo1(entrylo1); - BARRIER; tlb_write_indexed(); - BARRIER; write_c0_entryhi(old_ctx); - BARRIER; write_c0_pagemask(old_pagemask); } |