x86: move tracedata to RODATA

.. allowing it to be write-protected just as other read-only data
under CONFIG_DEBUG_RODATA.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
此提交包含在:
Jan Beulich
2008-05-12 15:44:41 +02:00
提交者 Thomas Gleixner
父節點 75d3bce2fc
當前提交 63687a528c
共有 6 個檔案被更改,包括 17 行新增17 行删除

查看文件

@@ -53,13 +53,6 @@ SECTIONS
RODATA
. = ALIGN(4);
.tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) {
__tracedata_start = .;
*(.tracedata)
__tracedata_end = .;
}
. = ALIGN(PAGE_SIZE); /* Align data segment to page size boundary */
/* Data */
.data : AT(ADDR(.data) - LOAD_OFFSET) {