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:
0784b36
)
x86/asm/boot/64: Use __BOOT_TSS instead of literal $0x20
author
Denys Vlasenko
<
[email protected]
>
Wed, 1 Apr 2015 14:50:58 +0000
(16:50 +0200)
committer
Ingo Molnar
<
[email protected]
>
Thu, 2 Apr 2015 10:00:20 +0000
(12:00 +0200)
__BOOT_TSS = (GDT_ENTRY_BOOT_TSS * 8)
GDT_ENTRY_BOOT_TSS = (GDT_ENTRY_BOOT_CS + 2)
GDT_ENTRY_BOOT_CS = 2
(2 + 2) * 8 = 4 * 8 = 32 = 0x20
No code changes.
Signed-off-by: Denys Vlasenko <
[email protected]
>
Reviewed-by: Steven Rostedt <
[email protected]
>
Acked-by: Borislav Petkov <
[email protected]
>
Cc: Alexei Starovoitov <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Kees Cook <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Oleg Nesterov <
[email protected]
>
Cc: Will Drewry <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/boot/compressed/head_64.S
patch
|
blob
|
history
diff --git
a/arch/x86/boot/compressed/head_64.S
b/arch/x86/boot/compressed/head_64.S
index 90c152135e92cad85b6e88b017e6c46868eb10d5..b0c0d16ef58d1099342c97aff83767dd35c73691 100644
(file)
--- a/
arch/x86/boot/compressed/head_64.S
+++ b/
arch/x86/boot/compressed/head_64.S
@@
-165,7
+165,7
@@
ENTRY(startup_32)
/* After gdt is loaded */
xorl %eax, %eax
lldt %ax
- movl $
0x20
, %eax
+ movl $
__BOOT_TSS
, %eax
ltr %ax
/*