diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 13:30:13 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:30:13 +0100 |
commit | 70f5088dd5e9fbd3a71b3a5b01395c676158194b (patch) | |
tree | 5d7f47f1db5c9a2da9c2a78e7fd87291e916b0bf /arch/x86/kernel/ldt_32.c | |
parent | fc2d625c4fac18e672a3b7c61af5de22d7ab7d87 (diff) |
x86: prepare arch/x86/kernel/ldt_32/64.c for merging
White space and coding style cleanups.
Change unsigned to int. There is no win when we compare mincount against pc->size,
which is an int as well. Casting pc->size to unsigned just might hide real problems.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/ldt_32.c')
-rw-r--r-- | arch/x86/kernel/ldt_32.c | 3 |
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) |