aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2016-06-28 13:49:04 -0700
committerLuis R. Rodriguez <mcgrof@kernel.org>2016-06-29 17:29:05 -0700
commitc16aefb49f4e6281eae247c162d59e7f557069a5 (patch)
tree88dc84e415b59a81042f3c832e65b05737c593a0
parent923a4eb88b45bc947812a394d3acb92dd4f4bbf3 (diff)
downloadlinker-tables-c16aefb49f4e6281eae247c162d59e7f557069a5.tar.gz
tables.h: enable use of SECTION_TBL() on asm code
This enables asm cod eto also use SECTION_TBL(), if we want we can later add an asm equivalent to DECLARE_SECTION_RANGE() but for tables, but we leave this for later as we don't need it yet. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
-rw-r--r--include/linux/tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tables.h b/include/linux/tables.h
index 27a2457..18ffb56 100644
--- a/include/linux/tables.h
+++ b/include/linux/tables.h
@@ -5,11 +5,11 @@
#define SECTION_TYPE_TABLES tbl
-#ifndef __ASSEMBLY__
-
#define SECTION_TBL(section, name, level) \
SECTION_TYPE(section, SECTION_TYPE_TABLES, name, level)
+#ifndef __ASSEMBLY__
+
/*
* Linux linker tables
*