aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2016-06-28 13:55:34 -0700
committerLuis R. Rodriguez <mcgrof@kernel.org>2016-06-29 17:29:05 -0700
commit56b6b43926232e258d63bf5a981cc64575d27f8b (patch)
tree99d546e5cdd0b31e5ed50b50045eb27445895164
parentb9dce6bf0b9d67d944854fb4ed19a6593493af0d (diff)
downloadlinker-tables-56b6b43926232e258d63bf5a981cc64575d27f8b.tar.gz
ranges.h: add push_section_rng() to be used on asm volatile()
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r--include/linux/ranges.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ranges.h b/include/linux/ranges.h
index 976541e..6edc444 100644
--- a/include/linux/ranges.h
+++ b/include/linux/ranges.h
@@ -58,6 +58,9 @@ name: ; \
__attribute__((__aligned__(LINUX_SECTION_ALIGNMENT(name)), \
__section__(SECTION_RANGE(section, name, level))))
+#define push_section_rng(section, name, level) \
+ push_section_type(section, SECTION_TYPE_RANGES, name, level)
+
#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLER__ */