[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181017223332.11964-4-linux@rasmusvillemoes.dk>
Date: Thu, 18 Oct 2018 00:33:24 +0200
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: linux-kernel@...r.kernel.org
Cc: x86@...nel.org, "H . Peter Anvin" <hpa@...or.com>,
Ingo Molnar <mingo@...nel.org>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: [POC 04/12] vmlinux.lds.h: handle various rai sections
Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
---
include/asm-generic/vmlinux.lds.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index f09ee3c544bc..f38510c6bfcc 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -257,6 +257,7 @@
__start___verbose = .; \
KEEP(*(__verbose)) \
__stop___verbose = .; \
+ KEEP(*(.rai_templ)) \
LIKELY_PROFILE() \
BRANCH_PROFILE() \
TRACE_PRINTKS() \
@@ -328,6 +329,9 @@
__start___tracepoints_ptrs = .; \
KEEP(*(__tracepoints_ptrs)) /* Tracepoints: pointer array */ \
__stop___tracepoints_ptrs = .; \
+ __start_rai_data = .; \
+ KEEP(*(.rai_data)) \
+ __stop_rai_data = .; \
*(__tracepoints_strings)/* Tracepoints: strings */ \
} \
\
@@ -494,6 +498,7 @@
#define TEXT_TEXT \
ALIGN_FUNCTION(); \
*(.text.hot TEXT_MAIN .text.fixup .text.unlikely) \
+ *(.text.rai_thunk) \
*(.text..refcount) \
*(.ref.text) \
MEM_KEEP(init.text*) \
--
2.19.1.6.gbde171bbf5
Powered by blists - more mailing lists