aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/ldt_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/ldt_32.c')
-rw-r--r--arch/x86/kernel/ldt_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/ldt_32.c b/arch/x86/kernel/ldt_32.c
index e366c5fd0d1..bb15753abaf 100644
--- a/arch/x86/kernel/ldt_32.c
+++ b/arch/x86/kernel/ldt_32.c
@@ -27,8 +27,7 @@ static void flush_ldt(void *null)
static int alloc_ldt(mm_context_t *pc, int mincount, int reload)
{
- void *oldldt;
- void *newldt;
+ void *oldldt, *newldt;
int oldsize;
if (mincount <= pc->size)