patch-2.1.124 linux/include/asm-ppc/cache.h
Next file: linux/include/asm-ppc/elf.h
Previous file: linux/include/asm-ppc/byteorder.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Sep 30 10:14:33 1998
- Orig file:
v2.1.123/linux/include/asm-ppc/cache.h
- Orig date:
Thu Aug 6 14:06:33 1998
diff -u --recursive --new-file v2.1.123/linux/include/asm-ppc/cache.h linux/include/asm-ppc/cache.h
@@ -13,7 +13,7 @@
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
#define L1_CACHE_PAGES 8
-#ifndef __ASSEMBLY__
+#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
static inline unsigned long unlock_dcache(void)
{
#ifndef CONFIG_8xx
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov