diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-05-06 22:07:26 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-05-07 02:48:54 +0200 |
commit | 8e65986dcae8c49501c1920064dc192e704248bb (patch) | |
tree | 188145ceb49a9025647a4a354d600c12a8f02a0c /arch/xtensa/include/asm/pgalloc.h | |
parent | xtensa: set proper error code for simdisk_setup() (diff) | |
download | linux-8e65986dcae8c49501c1920064dc192e704248bb.tar.xz linux-8e65986dcae8c49501c1920064dc192e704248bb.zip |
xtensa: drop ifdef __KERNEL__ from kernel-only headers
These headers are not exported to userspace, so they're never used
without __KERNEL__ defined. Drop these ifdef statements.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/pgalloc.h')
-rw-r--r-- | arch/xtensa/include/asm/pgalloc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/xtensa/include/asm/pgalloc.h b/arch/xtensa/include/asm/pgalloc.h index b3b388ff2f01..368284c972e7 100644 --- a/arch/xtensa/include/asm/pgalloc.h +++ b/arch/xtensa/include/asm/pgalloc.h @@ -11,8 +11,6 @@ #ifndef _XTENSA_PGALLOC_H #define _XTENSA_PGALLOC_H -#ifdef __KERNEL__ - #include <linux/highmem.h> #include <linux/slab.h> @@ -79,5 +77,4 @@ static inline void pte_free(struct mm_struct *mm, pgtable_t pte) } #define pmd_pgtable(pmd) pmd_page(pmd) -#endif /* __KERNEL__ */ #endif /* _XTENSA_PGALLOC_H */ |