projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b74357
)
[PATCH] x86_64: set do_not_nx as cpuinitdata
author
Andi Kleen
<
[email protected]
>
Mon, 16 Jan 2006 00:56:48 +0000
(
01:56
+0100)
committer
Linus Torvalds
<
[email protected]
>
Mon, 16 Jan 2006 19:27:59 +0000
(11:27 -0800)
'check_efer' uses 'do_not_nx'. Hotpluged CPU could wrongly disable NX.
Signed-off-by: Shaohua Li<
[email protected]
>
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86_64/kernel/setup64.c
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/setup64.c
b/arch/x86_64/kernel/setup64.c
index 6eff51e9400c7285587eae76077bd953542065c7..8ac4db09610afd501d16db48131229d20863b950 100644
(file)
--- a/
arch/x86_64/kernel/setup64.c
+++ b/
arch/x86_64/kernel/setup64.c
@@
-38,7
+38,7
@@
struct desc_ptr idt_descr = { 256 * 16, (unsigned long) idt_table };
char boot_cpu_stack[IRQSTACKSIZE] __attribute__((section(".bss.page_aligned")));
unsigned long __supported_pte_mask __read_mostly = ~0UL;
-static int do_not_nx __initdata = 0;
+static int do_not_nx __
cpu
initdata = 0;
/* noexec=on|off
Control non executable mappings for 64bit processes.