diff options
author | Jaswinder Singh Rajput <jaswinder@infradead.org> | 2008-12-31 16:42:20 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-02 17:46:24 +0100 |
commit | 423a54058f746579aff1430877dbc82f17442b34 (patch) | |
tree | 40ec10caf2801df607d8aa52233583b67b728e7f /arch/x86/kernel/ldt.c | |
parent | f634fa941188a91dbf1dab961fe7a4509852fd6e (diff) | |
download | linux-stable-423a54058f746579aff1430877dbc82f17442b34.tar.gz linux-stable-423a54058f746579aff1430877dbc82f17442b34.tar.bz2 linux-stable-423a54058f746579aff1430877dbc82f17442b34.zip |
x86: ldt.c fix style problems
Impact: cleanup
Fixes style problems:
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
ERROR: space required before the open parenthesis '('
total: 1 errors, 1 warnings
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/ldt.c')
-rw-r--r-- | arch/x86/kernel/ldt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/ldt.c b/arch/x86/kernel/ldt.c index eee32b43fee3..71f1d99a635d 100644 --- a/arch/x86/kernel/ldt.c +++ b/arch/x86/kernel/ldt.c @@ -12,8 +12,8 @@ #include <linux/mm.h> #include <linux/smp.h> #include <linux/vmalloc.h> +#include <linux/uaccess.h> -#include <asm/uaccess.h> #include <asm/system.h> #include <asm/ldt.h> #include <asm/desc.h> @@ -93,7 +93,7 @@ static inline int copy_ldt(mm_context_t *new, mm_context_t *old) if (err < 0) return err; - for(i = 0; i < old->size; i++) + for (i = 0; i < old->size; i++) write_ldt_entry(new->ldt, i, old->ldt + i * LDT_ENTRY_SIZE); return 0; } |