]> Pileus Git - ~andy/linux/blobdiff - include/asm-i386/bugs.h
[PATCH] Pass struct dev pointer to dma_cache_sync()
[~andy/linux] / include / asm-i386 / bugs.h
index 50233e0345fba1e729d00293419d11f422a532b2..592ffeeda45e7745c4554201ce8a78da1a80df38 100644 (file)
@@ -17,7 +17,6 @@
  *     void check_bugs(void);
  */
 
-#include <linux/config.h>
 #include <linux/init.h>
 #include <asm/processor.h>
 #include <asm/i387.h>
@@ -190,6 +189,6 @@ static void __init check_bugs(void)
        check_fpu();
        check_hlt();
        check_popad();
-       system_utsname.machine[1] = '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86);
+       init_utsname()->machine[1] = '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86);
        alternative_instructions(); 
 }