diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-07-24 22:51:11 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-07-24 22:51:11 +0000 |
commit | 5c61649a624af1ba36e12a2dd5a8a5f45b26f898 (patch) | |
tree | 3c4ce513d0a6b886c5056855c702ffe5ceb67249 /arch/mips64/sgi-ip27/ip27-init.c | |
parent | fa338bfb88ff74c82d0e5d30a5265943c081dc53 (diff) |
Introduce a new cpu specific routine to flush the L2 cache. This helps
the stability of DISCONTIGMEM kernels. The L2 flushing is needed during
bootup. With this, the initialization hacks of scanning the node memories
at boot up time is not needed any more.
Diffstat (limited to 'arch/mips64/sgi-ip27/ip27-init.c')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-init.c b/arch/mips64/sgi-ip27/ip27-init.c index 91bd7c9f5..f18b124a1 100644 --- a/arch/mips64/sgi-ip27/ip27-init.c +++ b/arch/mips64/sgi-ip27/ip27-init.c @@ -302,6 +302,7 @@ void per_hub_init(cnodeid_t cnode) memcpy((void *)(KSEG0 + 0x180), &except_vec3_generic, 0x100); flush_cache_all(); + flush_cache_l2(); } #endif } @@ -419,6 +420,7 @@ void cboot(void) #endif _flush_tlb_all(); flush_cache_all(); + flush_cache_l2(); start_secondary(); } |