patch-2.4.0-test11 linux/include/asm-ppc/pgtable.h
Next file: linux/include/asm-ppc/pnp.h
Previous file: linux/include/asm-ppc/pgalloc.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Nov 11 18:23:11 2000
- Orig file:
v2.4.0-test10/linux/include/asm-ppc/pgtable.h
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/pgtable.h linux/include/asm-ppc/pgtable.h
@@ -1,3 +1,4 @@
+#ifdef __KERNEL__
#ifndef _PPC_PGTABLE_H
#define _PPC_PGTABLE_H
@@ -451,9 +452,6 @@
#define pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
#define swp_entry_to_pte(x) ((pte_t) { (x).val })
-#define module_map vmalloc
-#define module_unmap vfree
-
/* CONFIG_APUS */
/* For virtual address to physical address conversion */
extern void cache_clear(__u32 addr, int length);
@@ -492,3 +490,4 @@
#endif __ASSEMBLY__
#endif /* _PPC_PGTABLE_H */
+#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)