patch-2.4.0-test2 linux/include/asm-ia64/page.h
Next file: linux/include/asm-ia64/pal.h
Previous file: linux/include/asm-ia64/offsets.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Jun 22 07:09:45 2000
- Orig file:
v2.4.0-test1/linux/include/asm-ia64/page.h
- Orig date:
Sun Mar 19 18:35:31 2000
diff -u --recursive --new-file v2.4.0-test1/linux/include/asm-ia64/page.h linux/include/asm-ia64/page.h
@@ -127,6 +127,12 @@
#define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;})
#define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;})
+#define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;})
+#define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;})
+
+#define REGION_SIZE REGION_NUMBER(1)
+#define REGION_KERNEL 7
+
#define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); *(int *)0=0; } while (0)
#define PAGE_BUG(page) do { BUG(); } while (0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)