patch-2.2.4 linux/include/asm-sparc/pgtable.h
Next file: linux/include/asm-sparc/posix_types.h
Previous file: linux/include/asm-sparc/page.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Mar 10 16:53:37 1999
- Orig file:
v2.2.3/linux/include/asm-sparc/pgtable.h
- Orig date:
Thu Aug 6 14:06:34 1998
diff -u --recursive --new-file v2.2.3/linux/include/asm-sparc/pgtable.h linux/include/asm-sparc/pgtable.h
@@ -1,4 +1,4 @@
-/* $Id: pgtable.h,v 1.77 1998/08/04 20:51:19 davem Exp $ */
+/* $Id: pgtable.h,v 1.78 1999/01/07 14:14:05 jj Exp $ */
#ifndef _SPARC_PGTABLE_H
#define _SPARC_PGTABLE_H
@@ -574,8 +574,10 @@
#define module_map vmalloc
#define module_unmap vfree
+extern unsigned long *sparc_valid_addr_bitmap;
/* Needs to be defined here and not in linux/mm.h, as it is arch dependent */
#define PageSkip(page) (test_bit(PG_skip, &(page)->flags))
+#define kern_addr_valid(addr) (test_bit(__pa((unsigned long)(addr))>>20, sparc_valid_addr_bitmap))
#endif /* !(_SPARC_PGTABLE_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)