Skip to content

Commit 333a678

Browse files
author
Lorenzo Pieralisi
committed
sparc32: Remove useless io_32.h __KERNEL__ preprocessor guard
The __KERNEL_ preprocessor guard is useless in non-uapi headers. Remove it. Link: https://lore.kernel.org/r/084753d3064fe946ff1963eda2eb425cfd7daa7b.1600254147.git.lorenzo.pieralisi@arm.com Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: David S. Miller <davem@davemloft.net> Cc: David S. Miller <davem@davemloft.net>
1 parent 9123e3a commit 333a678

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/sparc/include/asm/io_32.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ static inline void sbus_memcpy_toio(volatile void __iomem *dst,
121121
}
122122
}
123123

124-
#ifdef __KERNEL__
125-
126124
/*
127125
* Bus number may be embedded in the higher bits of the physical address.
128126
* This is why we have no bus number argument to ioremap().
@@ -148,8 +146,6 @@ static inline int sbus_can_burst64(void)
148146
struct device;
149147
void sbus_set_sbus64(struct device *, int);
150148

151-
#endif
152-
153149
#define __ARCH_HAS_NO_PAGE_ZERO_MAPPED 1
154150

155151

0 commit comments

Comments
 (0)