aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/include/asm/nohash/pte-book3e.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-04-24 18:31:28 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-07 20:37:46 +1000
commit45201c8794693d16e8e634188a92e9c0b075fd91 (patch)
tree5ede27bc6ef039e9ff11802f20671a24ab2d287e /arch/powerpc/include/asm/nohash/pte-book3e.h
parentpowerpc/fadump: Unregister fadump on kexec down path. (diff)
downloadwireguard-linux-45201c8794693d16e8e634188a92e9c0b075fd91.tar.xz
wireguard-linux-45201c8794693d16e8e634188a92e9c0b075fd91.zip
powerpc/nohash: Remove hash related code from nohash headers.
When nohash and book3s header were split, some hash related stuff remained in the nohash header. This patch removes them. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> [mpe: Duplicate pte_young() to avoid circular header dependency] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/nohash/pte-book3e.h')
-rw-r--r--arch/powerpc/include/asm/nohash/pte-book3e.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/nohash/pte-book3e.h b/arch/powerpc/include/asm/nohash/pte-book3e.h
index ccee8eb509bb..9ff51b4c0cac 100644
--- a/arch/powerpc/include/asm/nohash/pte-book3e.h
+++ b/arch/powerpc/include/asm/nohash/pte-book3e.h
@@ -57,7 +57,6 @@
#define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */
#define _PAGE_PRIVILEGED (_PAGE_BAP_SR)
-#define _PAGE_HASHPTE 0
#define _PAGE_BUSY 0
#define _PAGE_SPECIAL _PAGE_SW0