]> git.baikalelectronics.ru Git - kernel.git/commit
x86: modify get_desc_base
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:14 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:14 +0000 (13:31 +0100)
commit2ee6f431b0c7eba2b9f4d30ef92aad159d5704bc
tree96d07f0b08b08c0ebfaf8c73252316cb8c978652
parentfb1a88651f9b52891315197013f3ef8a7b717301
x86: modify get_desc_base

This patch makes get_desc_base() receive a struct desc_struct,
and then uses its internal fields to compute the base address.
This is done at both i386 and x86_64, and then it is moved
to common header

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tls.c
arch/x86/mm/fault_32.c
include/asm-x86/desc.h
include/asm-x86/desc_32.h
include/asm-x86/desc_64.h