0aa351196a
A duplicate include guard prevents inclusion of barrier.h in UML build and this prevents mac80211 from building. This patch re-enables mac80211 hwsim and renames the include guard. See https://lists.openwrt.org/pipermail/openwrt-devel/2015-June/033614.html for details. Signed-off-by: Martin Tippmann <martin.tippmann@gmail.com> Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 46133
16 lines
413 B
Diff
16 lines
413 B
Diff
--- a/backport-include/asm/barrier.h
|
|
+++ b/backport-include/asm/barrier.h
|
|
@@ -1,9 +1,9 @@
|
|
-#ifndef __BACKPORT_ASM_GENERIC_BARRIER_H
|
|
-#define __BACKPORT_ASM_GENERIC_BARRIER_H
|
|
+#ifndef __BACKPORT_ASM_BARRIER_H
|
|
+#define __BACKPORT_ASM_BARRIER_H
|
|
#include_next <asm/barrier.h>
|
|
|
|
#ifndef dma_rmb
|
|
#define dma_rmb() rmb()
|
|
#endif
|
|
|
|
-#endif /* __BACKPORT_ASM_GENERIC_BARRIER_H */
|
|
+#endif /* __BACKPORT_ASM_BARRIER_H */
|