From: Richard Henderson <richard@atheist.tamu.edu>
Subject: test patch for random crashes
Date: Mon, 15 Apr 1996 10:11:45 -0500 (CDT) [thread overview]
Message-ID: <m0u8pwR-00025dC@atheist.tamu.edu> (raw)
Those of you who were, like me, experiencing random program
crashes, e.g. "touch" on bootup, should try the following.
It seems to have worked for me on my eb164.
r~
------
--- pgtable.h.orig Sat Apr 6 19:37:13 1996
+++ pgtable.h Mon Apr 15 09:49:08 1996
@@ -12,11 +12,11 @@
#include <asm/system.h>
/* Caches aren't brain-dead on the alpha. */
-#define flush_cache_all() do { } while (0)
-#define flush_cache_mm(mm) do { } while (0)
-#define flush_cache_range(mm, start, end) do { } while (0)
-#define flush_cache_page(vma, vmaddr) do { } while (0)
-#define flush_page_to_ram(page) do { } while (0)
+#define flush_cache_all() imb()
+#define flush_cache_mm(mm) imb()
+#define flush_cache_range(mm, start, end) imb()
+#define flush_cache_page(vma, vmaddr) imb()
+#define flush_page_to_ram(page) imb()
/*
* Flush current user mapping.
next reply other threads:[~1996-04-15 15:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-15 15:11 Richard Henderson [this message]
1996-04-16 5:52 ` test patch for random crashes Linus Torvalds
1996-04-16 21:32 ` Jim Paradis
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox