summaryrefslogtreecommitdiffstats
path: root/include/asm-um/page.h
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>2005-05-06 01:15:15 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 01:36:32 +0200
commitf7fe8781749bf2de2ca03147a1691244a7d93ec7 (patch)
treeed4288c71b5208f9207fe852dd3351446261adb6 /include/asm-um/page.h
parent[PATCH] ppc64: pgtable.h and other header cleanups (diff)
downloadlinux-f7fe8781749bf2de2ca03147a1691244a7d93ec7.tar.xz
linux-f7fe8781749bf2de2ca03147a1691244a7d93ec7.zip
[PATCH] uml: obvious compile fixes for x86-64 Subarch and x86 regression fixes
This patch does some totally trivial compilation fixes. It also restores the debugregs manipulation, which was commented out simply because it doesn't compile on x86_64 (we haven't yet implemented there debugregs handling). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-um/page.h')
-rw-r--r--include/asm-um/page.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-um/page.h b/include/asm-um/page.h
index 102eb3df1aaf..504ea8e486b0 100644
--- a/include/asm-um/page.h
+++ b/include/asm-um/page.h
@@ -45,6 +45,9 @@ typedef struct { unsigned long pgd; } pgd_t;
({ (pte).pte_high = (phys) >> 32; \
(pte).pte_low = (phys) | pgprot_val(prot); })
+#define pmd_val(x) ((x).pmd)
+#define __pmd(x) ((pmd_t) { (x) } )
+
typedef unsigned long long pfn_t;
typedef unsigned long long phys_t;