summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/sparsemem.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/sparsemem.h
parent582dc536d75990c7a50f5d385ee0d10ee284411f (diff)
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 'arch/sh/include/asm/sparsemem.h')
-rw-r--r--arch/sh/include/asm/sparsemem.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/asm/sparsemem.h b/arch/sh/include/asm/sparsemem.h
index 4eb899751e45..ed287c4980bc 100644
--- a/arch/sh/include/asm/sparsemem.h
+++ b/arch/sh/include/asm/sparsemem.h
@@ -2,7 +2,6 @@
#ifndef __ASM_SH_SPARSEMEM_H
#define __ASM_SH_SPARSEMEM_H
-#ifdef __KERNEL__
/*
* SECTION_SIZE_BITS 2^N: how big each section will be
* MAX_PHYSADDR_BITS 2^N: how much physical address space we have
@@ -12,6 +11,4 @@
#define MAX_PHYSADDR_BITS 32
#define MAX_PHYSMEM_BITS 32
-#endif
-
#endif /* __ASM_SH_SPARSEMEM_H */