git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches 'irq-core-for-linus' and 'core-locking-for-linus' of git://git.kernel...
[pandora-kernel.git]
/
arch
/
mips
/
include
/
asm
/
bootinfo.h
diff --git
a/arch/mips/include/asm/bootinfo.h
b/arch/mips/include/asm/bootinfo.h
index
15a8ef0
..
35cd1ba
100644
(file)
--- a/
arch/mips/include/asm/bootinfo.h
+++ b/
arch/mips/include/asm/bootinfo.h
@@
-125,4
+125,16
@@
extern unsigned long fw_arg0, fw_arg1, fw_arg2, fw_arg3;
*/
extern void plat_mem_setup(void);
*/
extern void plat_mem_setup(void);
+#ifdef CONFIG_SWIOTLB
+/*
+ * Optional platform hook to call swiotlb_setup().
+ */
+extern void plat_swiotlb_setup(void);
+
+#else
+
+static inline void plat_swiotlb_setup(void) {}
+
+#endif /* CONFIG_SWIOTLB */
+
#endif /* _ASM_BOOTINFO_H */
#endif /* _ASM_BOOTINFO_H */