]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: use get_desc_base
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:45 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:45 +0000 (13:30 +0100)
commit91394eb0975b3771dde7071a0825c6df6c20ff8a
treef6ba91aa9ed6514a66bfbd8476e7a59444ad230f
parent859c0a5b9ca8eba2d65fa42f02505d76f8a712c7
x86: use get_desc_base

This changes a couple of places to use the get_desc_base function.
They were duplicating the same calculation with different equivalent code.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/ia32/tls32.c
arch/x86/kernel/process_64.c