summaryrefslogtreecommitdiff
blob: aa4f99c5d818be322102c69eed2c4474042e9ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: linux-2.6.20-xen-r3/include/asm-i386/mach-xen/asm/pgtable-2level.h
===================================================================
--- linux-2.6.20-xen-r3.orig/include/asm-i386/mach-xen/asm/pgtable-2level.h
+++ linux-2.6.20-xen-r3/include/asm-i386/mach-xen/asm/pgtable-2level.h
@@ -30,8 +30,7 @@
 
 #define pte_none(x) (!(x).pte_low)
 
-#define __HAVE_ARCH_PTEP_GET_AND_CLEAR
-static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
+static inline pte_t raw_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
 {
 	pte_t pte = *ptep;
 	if (!pte_none(pte)) {