aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2016-06-28 13:51:52 -0700
committerLuis R. Rodriguez <mcgrof@kernel.org>2016-06-29 17:29:05 -0700
commitb9dce6bf0b9d67d944854fb4ed19a6593493af0d (patch)
tree10d7a892143bf4f215eebc9eddaa7ca883b8f153
parent65b85f7b419b16416a53d94b9b3cd1c3e895341c (diff)
downloadlinker-tables-b9dce6bf0b9d67d944854fb4ed19a6593493af0d.tar.gz
tables.h: add push_section_tbl() for asm volatile calls
This is used on C code calling in to asm code via asm volatile(). Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r--include/linux/tables.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tables.h b/include/linux/tables.h
index 18ffb56..b6e7051 100644
--- a/include/linux/tables.h
+++ b/include/linux/tables.h
@@ -160,6 +160,9 @@ do { \
err; \
})
+#define push_section_tbl(section, name, level, flags) \
+ push_section(section, SECTION_TYPE_TABLES, name, level, flags)
+
#endif /* __ASSEMBLY__ */
#define SECTION_TBL_ALL(section) \