projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc: Shield code specific to 64-bit server processors
[deliverable/linux.git]
/
arch
/
powerpc
/
include
/
asm
/
pgtable-ppc64.h
diff --git
a/arch/powerpc/include/asm/pgtable-ppc64.h
b/arch/powerpc/include/asm/pgtable-ppc64.h
index c40db05f21e000a3682bf5a828ede9612cb710ec..8cd083c6150384eeca4c28a38d5a49e643efab1a 100644
(file)
--- a/
arch/powerpc/include/asm/pgtable-ppc64.h
+++ b/
arch/powerpc/include/asm/pgtable-ppc64.h
@@
-31,9
+31,11
@@
#error TASK_SIZE_USER64 exceeds pagetable range
#endif
#error TASK_SIZE_USER64 exceeds pagetable range
#endif
+#ifdef CONFIG_PPC_STD_MMU_64
#if TASK_SIZE_USER64 > (1UL << (USER_ESID_BITS + SID_SHIFT))
#error TASK_SIZE_USER64 exceeds user VSID range
#endif
#if TASK_SIZE_USER64 > (1UL << (USER_ESID_BITS + SID_SHIFT))
#error TASK_SIZE_USER64 exceeds user VSID range
#endif
+#endif
/*
* Define the address range of the vmalloc VM area.
/*
* Define the address range of the vmalloc VM area.
@@
-199,8
+201,11
@@
static inline unsigned long pte_update(struct mm_struct *mm,
if (!huge)
assert_pte_locked(mm, addr);
if (!huge)
assert_pte_locked(mm, addr);
+#ifdef CONFIG_PPC_STD_MMU_64
if (old & _PAGE_HASHPTE)
hpte_need_flush(mm, addr, ptep, old, huge);
if (old & _PAGE_HASHPTE)
hpte_need_flush(mm, addr, ptep, old, huge);
+#endif
+
return old;
}
return old;
}
This page took
0.023853 seconds
and
5
git commands to generate.