Commit 333a6783 authored by Lorenzo Pieralisi's avatar Lorenzo Pieralisi

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.comSigned-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Cc: David S. Miller <davem@davemloft.net>
parent 9123e3a7
...@@ -121,8 +121,6 @@ static inline void sbus_memcpy_toio(volatile void __iomem *dst, ...@@ -121,8 +121,6 @@ static inline void sbus_memcpy_toio(volatile void __iomem *dst,
} }
} }
#ifdef __KERNEL__
/* /*
* Bus number may be embedded in the higher bits of the physical address. * Bus number may be embedded in the higher bits of the physical address.
* This is why we have no bus number argument to ioremap(). * This is why we have no bus number argument to ioremap().
...@@ -148,8 +146,6 @@ static inline int sbus_can_burst64(void) ...@@ -148,8 +146,6 @@ static inline int sbus_can_burst64(void)
struct device; struct device;
void sbus_set_sbus64(struct device *, int); void sbus_set_sbus64(struct device *, int);
#endif
#define __ARCH_HAS_NO_PAGE_ZERO_MAPPED 1 #define __ARCH_HAS_NO_PAGE_ZERO_MAPPED 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment