powerpc/nohash: Remove hash related code from nohash headers.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 24 Apr 2018 16:31:28 +0000 (18:31 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 May 2018 10:37:46 +0000 (20:37 +1000)
commit45201c8794693d16e8e634188a92e9c0b075fd91
tree5ede27bc6ef039e9ff11802f20671a24ab2d287e
parent722cde76d68e8cc4f3de42e71c82fd40dea4f7b9
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>
arch/powerpc/include/asm/nohash/32/pgtable.h
arch/powerpc/include/asm/nohash/64/pgtable.h
arch/powerpc/include/asm/nohash/pgtable.h
arch/powerpc/include/asm/nohash/pte-book3e.h