diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/bugs.h | 2 | ||||
-rw-r--r-- | include/asm-sh/bugs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/bugs.h b/include/asm-i386/bugs.h index 2a9e4ee5904d..592ffeeda45e 100644 --- a/include/asm-i386/bugs.h +++ b/include/asm-i386/bugs.h | |||
@@ -189,6 +189,6 @@ static void __init check_bugs(void) | |||
189 | check_fpu(); | 189 | check_fpu(); |
190 | check_hlt(); | 190 | check_hlt(); |
191 | check_popad(); | 191 | check_popad(); |
192 | system_utsname.machine[1] = '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86); | 192 | init_utsname()->machine[1] = '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86); |
193 | alternative_instructions(); | 193 | alternative_instructions(); |
194 | } | 194 | } |
diff --git a/include/asm-sh/bugs.h b/include/asm-sh/bugs.h index b4000c8bf31b..beeea40f549e 100644 --- a/include/asm-sh/bugs.h +++ b/include/asm-sh/bugs.h | |||
@@ -18,7 +18,7 @@ static void __init check_bugs(void) | |||
18 | { | 18 | { |
19 | extern char *get_cpu_subtype(void); | 19 | extern char *get_cpu_subtype(void); |
20 | extern unsigned long loops_per_jiffy; | 20 | extern unsigned long loops_per_jiffy; |
21 | char *p= &system_utsname.machine[2]; /* "sh" */ | 21 | char *p= &init_utsname()->machine[2]; /* "sh" */ |
22 | 22 | ||
23 | cpu_data->loops_per_jiffy = loops_per_jiffy; | 23 | cpu_data->loops_per_jiffy = loops_per_jiffy; |
24 | 24 | ||