Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* test patch for random crashes
@ 1996-04-15 15:11 Richard Henderson
  1996-04-16  5:52 ` Linus Torvalds
  1996-04-16 21:32 ` Jim Paradis
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Henderson @ 1996-04-15 15:11 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-04-16 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-15 15:11 test patch for random crashes Richard Henderson
1996-04-16  5:52 ` Linus Torvalds
1996-04-16 21:32 ` Jim Paradis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox