aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/mmzone.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-14 14:18:49 +0200
committerRich Felker <dalias@libc.org>2020-08-14 22:05:14 -0400
commite12b090eae6ac3b18f42673a4b0fef6e61b63cac (patch)
tree3ad2566629692a3a063356ebbc6ce36218eb8ab9 /arch/sh/include/asm/mmzone.h
parentsh: sort the selects for SUPERH alphabetically (diff)
downloadlinux-dev-e12b090eae6ac3b18f42673a4b0fef6e61b63cac.tar.xz
linux-dev-e12b090eae6ac3b18f42673a4b0fef6e61b63cac.zip
sh: remove __KERNEL__ ifdefs from non-UAPI headers
There is no point in having __KERNEL__ ifdefs in headers not exported to userspace. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to '')
-rw-r--r--arch/sh/include/asm/mmzone.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/asm/mmzone.h b/arch/sh/include/asm/mmzone.h
index cbaee1d1b673..6552a088dc97 100644
--- a/arch/sh/include/asm/mmzone.h
+++ b/arch/sh/include/asm/mmzone.h
@@ -2,8 +2,6 @@
#ifndef __ASM_SH_MMZONE_H
#define __ASM_SH_MMZONE_H
-#ifdef __KERNEL__
-
#ifdef CONFIG_NEED_MULTIPLE_NODES
#include <linux/numa.h>
@@ -44,5 +42,4 @@ void __init __add_active_range(unsigned int nid, unsigned long start_pfn,
/* arch/sh/mm/init.c */
void __init allocate_pgdat(unsigned int nid);
-#endif /* __KERNEL__ */
#endif /* __ASM_SH_MMZONE_H */