]> git.baikalelectronics.ru Git - kernel.git/commit
x86 setup: correct the base in the GDT_ENTRY() macro
authorH. Peter Anvin <hpa@zytor.com>
Wed, 30 Jan 2008 12:33:04 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:04 +0000 (13:33 +0100)
commit65619442ad30676d5742304198b848f809fe1d78
tree5bd3dd8b2a734531b378de7df12e0bcf16e414d0
parent438cb0fbd2d54471df969079469b9753850a7e6c
x86 setup: correct the base in the GDT_ENTRY() macro

The GDT_ENTRY() macro in pm.c would incorrectly cut the bottom 8 bits
off the base.  We didn't define any bases with the bottom 8 bits
nonzero, so it is a non-manifest bug, but it's still a bug.

Pointed out by John Smith <johnsmith9344@gmail.com>.
Cc: John Smith <johnsmith9344@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/boot/pm.c