]> asedeno.scripts.mit.edu Git - linux.git/blob - arch/powerpc/include/asm/nohash/64/slice.h
Merge tag 'powerpc-4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
[linux.git] / arch / powerpc / include / asm / nohash / 64 / slice.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_NOHASH_64_SLICE_H
3 #define _ASM_POWERPC_NOHASH_64_SLICE_H
4
5 #ifdef CONFIG_PPC_64K_PAGES
6 #define get_slice_psize(mm, addr)       MMU_PAGE_64K
7 #else /* CONFIG_PPC_64K_PAGES */
8 #define get_slice_psize(mm, addr)       MMU_PAGE_4K
9 #endif /* !CONFIG_PPC_64K_PAGES */
10 #define slice_set_user_psize(mm, psize) do { BUG(); } while (0)
11
12 #endif /* _ASM_POWERPC_NOHASH_64_SLICE_H */