x86: coding style fixes to arch/x86/kernel/cpu/nexgen.c

arch/x86/kernel/cpu/nexgen.o:
   text    data     bss     dec     hex filename
    111     316       0     427     1ab nexgen.o.before
    111     316       0     427     1ab nexgen.o.after
md5:
 e796efefea9ebc6644338bad226599ee  nexgen.o.before.asm
 e796efefea9ebc6644338bad226599ee  nexgen.o.after.asm

Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Paolo Ciarrocchi
2008-02-20 00:18:05 +01:00
committed by Ingo Molnar
parent 8108576a78
commit c99aa3804e

View File

@@ -23,21 +23,20 @@ static int __cpuinit deep_magic_nexgen_probe(void)
" jnz 1f\n" " jnz 1f\n"
" movl $1, %%eax\n" " movl $1, %%eax\n"
"1:\n" "1:\n"
: "=a" (ret) : : "cx", "dx" ); : "=a" (ret) : : "cx", "dx");
return ret; return ret;
} }
static void __cpuinit init_nexgen(struct cpuinfo_x86 * c) static void __cpuinit init_nexgen(struct cpuinfo_x86 *c)
{ {
c->x86_cache_size = 256; /* A few had 1 MB... */ c->x86_cache_size = 256; /* A few had 1 MB... */
} }
static void __cpuinit nexgen_identify(struct cpuinfo_x86 * c) static void __cpuinit nexgen_identify(struct cpuinfo_x86 *c)
{ {
/* Detect NexGen with old hypercode */ /* Detect NexGen with old hypercode */
if ( deep_magic_nexgen_probe() ) { if (deep_magic_nexgen_probe())
strcpy(c->x86_vendor_id, "NexGenDriven"); strcpy(c->x86_vendor_id, "NexGenDriven");
}
} }
static struct cpu_dev nexgen_cpu_dev __cpuinitdata = { static struct cpu_dev nexgen_cpu_dev __cpuinitdata = {