diff options
Diffstat (limited to 'tags/2.6.20-4/50006_pgetable-build-fix.patch')
-rw-r--r-- | tags/2.6.20-4/50006_pgetable-build-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tags/2.6.20-4/50006_pgetable-build-fix.patch b/tags/2.6.20-4/50006_pgetable-build-fix.patch new file mode 100644 index 0000000..aa4f99c --- /dev/null +++ b/tags/2.6.20-4/50006_pgetable-build-fix.patch @@ -0,0 +1,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)) { |