aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/feature-fixups.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/feature-fixups.h')
-rw-r--r--include/asm-powerpc/feature-fixups.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-powerpc/feature-fixups.h b/include/asm-powerpc/feature-fixups.h
index ab30129dced7..a1029967620b 100644
--- a/include/asm-powerpc/feature-fixups.h
+++ b/include/asm-powerpc/feature-fixups.h
@@ -113,4 +113,14 @@ label##5: \
113 113
114#endif /* __ASSEMBLY__ */ 114#endif /* __ASSEMBLY__ */
115 115
116/* LWSYNC feature sections */
117#define START_LWSYNC_SECTION(label) label##1:
118#define MAKE_LWSYNC_SECTION_ENTRY(label, sect) \
119label##2: \
120 .pushsection sect,"a"; \
121 .align 2; \
122label##3: \
123 .long label##1b-label##3b; \
124 .popsection;
125
116#endif /* __ASM_POWERPC_FEATURE_FIXUPS_H */ 126#endif /* __ASM_POWERPC_FEATURE_FIXUPS_H */