patch-2.1.36 linux/include/asm-sparc/viking.h
Next file: linux/include/asm-sparc64/atomic.h
Previous file: linux/include/asm-sparc/system.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Apr 22 22:39:21 1997
- Orig file:
v2.1.35/linux/include/asm-sparc/viking.h
- Orig date:
Mon Apr 14 16:28:21 1997
diff -u --recursive --new-file v2.1.35/linux/include/asm-sparc/viking.h linux/include/asm-sparc/viking.h
@@ -1,4 +1,4 @@
-/* $Id: viking.h,v 1.18 1997/04/11 00:42:23 davem Exp $
+/* $Id: viking.h,v 1.19 1997/04/20 14:11:48 ecd Exp $
* viking.h: Defines specific to the GNU/Viking MBUS module.
* This is SRMMU stuff.
*
@@ -108,6 +108,8 @@
#define VIKING_PTAG_DIRTY 0x00010000 /* Block has been modified */
#define VIKING_PTAG_SHARED 0x00000100 /* Shared with some other cache */
+#ifndef __ASSEMBLY__
+
extern __inline__ void viking_flush_icache(void)
{
__asm__ __volatile__("sta %%g0, [%%g0] %0\n\t" : :
@@ -234,5 +236,7 @@
"r" (vaddr), "i" (ASI_M_FLUSH_PROBE));
return val;
}
+
+#endif /* !__ASSEMBLY__ */
#endif /* !(_SPARC_VIKING_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov