summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-20 18:44:56 +0800
committerLey Foon Tan <lftan@altera.com>2014-12-08 12:56:08 +0800
commit568f6ba03c5ecba5c6dd13e51554c205172ebdaf (patch)
tree91e4cfc20bc723842d7d50b0209c53bc1d31f72a /arch/nios2
parentb29438f22c807d8a4bda6f0fb3e24318117906c0 (diff)
downloadop-kernel-dev-568f6ba03c5ecba5c6dd13e51554c205172ebdaf.zip
op-kernel-dev-568f6ba03c5ecba5c6dd13e51554c205172ebdaf.tar.gz
nios2: remove unnecessary space before define
Remove extra space between # and define. Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/asm/io.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index 13dc22b..65583ee 100644
--- a/arch/nios2/include/asm/io.h
+++ b/arch/nios2/include/asm/io.h
@@ -48,14 +48,14 @@ static inline void iounmap(void __iomem *addr)
}
/* Pages to physical address... */
-# define page_to_phys(page) virt_to_phys(page_to_virt(page))
-# define page_to_bus(page) page_to_virt(page)
+#define page_to_phys(page) virt_to_phys(page_to_virt(page))
+#define page_to_bus(page) page_to_virt(page)
/* Macros used for converting between virtual and physical mappings. */
-# define phys_to_virt(vaddr) \
+#define phys_to_virt(vaddr) \
((void *)((unsigned long)(vaddr) | CONFIG_NIOS2_KERNEL_REGION_BASE))
/* Clear top 3 bits */
-# define virt_to_phys(vaddr) \
+#define virt_to_phys(vaddr) \
((unsigned long)((unsigned long)(vaddr) & ~0xE0000000))
#endif /* _ASM_NIOS2_IO_H */
OpenPOWER on IntegriCloud