projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2b6c5
)
x86: page.h: move and unify types for pagetable entry, #4
author
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:32:43 +0000
(13:32 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:32:43 +0000
(13:32 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/page.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/page.h
b/include/asm-x86/page.h
index
a522fba
..
530439e
100644
(file)
--- a/
include/asm-x86/page.h
+++ b/
include/asm-x86/page.h
@@
-92,6
+92,9
@@
typedef unsigned long phys_addr_t;
typedef struct { pteval_t pte; } pte_t;
+#define native_pte_val(x) ((x).pte)
+#define native_make_pte(x) ((pte_t) { (x) } )
+
#endif /* !__ASSEMBLY__ */
#endif /* CONFIG_X86_64 */