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:
8d379da
)
[PATCH] Fix gdt table size in trampoline.S
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 26 Sep 2006 08:52:32 +0000
(10:52 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:32 +0000
(10:52 +0200)
Allows easier extension of the GDT by using the proper C symbol
for the size in the descriptor.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/trampoline.S
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/trampoline.S
b/arch/x86_64/kernel/trampoline.S
index 23a03eb91fc7ee7705dedec2a8fe1c5ecf013b5f..c79b99a9e2f68e78afc731ae86e6e0a17ebcee7d 100644
(file)
--- a/
arch/x86_64/kernel/trampoline.S
+++ b/
arch/x86_64/kernel/trampoline.S
@@
-64,7
+64,7
@@
idt_48:
.word 0, 0 # idt base = 0L
gdt_48:
- .short
__KERNEL32_CS + 7
# gdt limit
+ .short
GDT_ENTRIES*8 - 1
# gdt limit
.long cpu_gdt_table-__START_KERNEL_map
.globl trampoline_end