Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/s390/kernel/early.c |
| 3 | * |
| 4 | * Copyright IBM Corp. 2007 |
| 5 | * Author(s): Hongjie Yang <hongjie@us.ibm.com>, |
| 6 | * Heiko Carstens <heiko.carstens@de.ibm.com> |
| 7 | */ |
| 8 | |
Christian Borntraeger | 92e6ecf | 2009-03-26 15:23:58 +0100 | [diff] [blame] | 9 | #include <linux/compiler.h> |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 10 | #include <linux/init.h> |
| 11 | #include <linux/errno.h> |
| 12 | #include <linux/string.h> |
| 13 | #include <linux/ctype.h> |
| 14 | #include <linux/lockdep.h> |
| 15 | #include <linux/module.h> |
| 16 | #include <linux/pfn.h> |
| 17 | #include <linux/uaccess.h> |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 18 | #include <asm/ebcdic.h> |
Michael Holzheu | 46b05d2 | 2007-02-21 10:55:21 +0100 | [diff] [blame] | 19 | #include <asm/ipl.h> |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 20 | #include <asm/lowcore.h> |
| 21 | #include <asm/processor.h> |
| 22 | #include <asm/sections.h> |
| 23 | #include <asm/setup.h> |
Christian Borntraeger | 92e6ecf | 2009-03-26 15:23:58 +0100 | [diff] [blame] | 24 | #include <asm/sysinfo.h> |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 25 | #include <asm/cpcmd.h> |
| 26 | #include <asm/sclp.h> |
Heiko Carstens | a806170 | 2008-04-17 07:46:26 +0200 | [diff] [blame] | 27 | #include "entry.h" |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 28 | |
| 29 | /* |
| 30 | * Create a Kernel NSS if the SAVESYS= parameter is defined |
| 31 | */ |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 32 | #define DEFSYS_CMD_SIZE 128 |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 33 | #define SAVESYS_CMD_SIZE 32 |
| 34 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 35 | char kernel_nss_name[NSS_NAME_SIZE + 1]; |
| 36 | |
Christian Ehrhardt | 25097bf | 2009-04-14 15:36:16 +0200 | [diff] [blame^] | 37 | static unsigned long machine_flags; |
| 38 | |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 39 | static void __init setup_boot_command_line(void); |
| 40 | |
| 41 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 42 | #ifdef CONFIG_SHARED_KERNEL |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 43 | int __init savesys_ipl_nss(char *cmd, const int cmdlen); |
| 44 | |
| 45 | asm( |
| 46 | " .section .init.text,\"ax\",@progbits\n" |
| 47 | " .align 4\n" |
| 48 | " .type savesys_ipl_nss, @function\n" |
| 49 | "savesys_ipl_nss:\n" |
| 50 | #ifdef CONFIG_64BIT |
| 51 | " stmg 6,15,48(15)\n" |
| 52 | " lgr 14,3\n" |
| 53 | " sam31\n" |
| 54 | " diag 2,14,0x8\n" |
| 55 | " sam64\n" |
| 56 | " lgr 2,14\n" |
| 57 | " lmg 6,15,48(15)\n" |
| 58 | #else |
| 59 | " stm 6,15,24(15)\n" |
| 60 | " lr 14,3\n" |
| 61 | " diag 2,14,0x8\n" |
| 62 | " lr 2,14\n" |
| 63 | " lm 6,15,24(15)\n" |
| 64 | #endif |
| 65 | " br 14\n" |
| 66 | " .size savesys_ipl_nss, .-savesys_ipl_nss\n"); |
| 67 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 68 | static noinline __init void create_kernel_nss(void) |
| 69 | { |
| 70 | unsigned int i, stext_pfn, eshared_pfn, end_pfn, min_size; |
| 71 | #ifdef CONFIG_BLK_DEV_INITRD |
| 72 | unsigned int sinitrd_pfn, einitrd_pfn; |
| 73 | #endif |
| 74 | int response; |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 75 | size_t len; |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 76 | char *savesys_ptr; |
| 77 | char upper_command_line[COMMAND_LINE_SIZE]; |
| 78 | char defsys_cmd[DEFSYS_CMD_SIZE]; |
| 79 | char savesys_cmd[SAVESYS_CMD_SIZE]; |
| 80 | |
| 81 | /* Do nothing if we are not running under VM */ |
| 82 | if (!MACHINE_IS_VM) |
| 83 | return; |
| 84 | |
| 85 | /* Convert COMMAND_LINE to upper case */ |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 86 | for (i = 0; i < strlen(boot_command_line); i++) |
| 87 | upper_command_line[i] = toupper(boot_command_line[i]); |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 88 | |
| 89 | savesys_ptr = strstr(upper_command_line, "SAVESYS="); |
| 90 | |
| 91 | if (!savesys_ptr) |
| 92 | return; |
| 93 | |
| 94 | savesys_ptr += 8; /* Point to the beginning of the NSS name */ |
| 95 | for (i = 0; i < NSS_NAME_SIZE; i++) { |
| 96 | if (savesys_ptr[i] == ' ' || savesys_ptr[i] == '\0') |
| 97 | break; |
| 98 | kernel_nss_name[i] = savesys_ptr[i]; |
| 99 | } |
| 100 | |
| 101 | stext_pfn = PFN_DOWN(__pa(&_stext)); |
| 102 | eshared_pfn = PFN_DOWN(__pa(&_eshared)); |
| 103 | end_pfn = PFN_UP(__pa(&_end)); |
| 104 | min_size = end_pfn << 2; |
| 105 | |
| 106 | sprintf(defsys_cmd, "DEFSYS %s 00000-%.5X EW %.5X-%.5X SR %.5X-%.5X", |
| 107 | kernel_nss_name, stext_pfn - 1, stext_pfn, eshared_pfn - 1, |
| 108 | eshared_pfn, end_pfn); |
| 109 | |
| 110 | #ifdef CONFIG_BLK_DEV_INITRD |
| 111 | if (INITRD_START && INITRD_SIZE) { |
| 112 | sinitrd_pfn = PFN_DOWN(__pa(INITRD_START)); |
| 113 | einitrd_pfn = PFN_UP(__pa(INITRD_START + INITRD_SIZE)); |
| 114 | min_size = einitrd_pfn << 2; |
| 115 | sprintf(defsys_cmd, "%s EW %.5X-%.5X", defsys_cmd, |
| 116 | sinitrd_pfn, einitrd_pfn); |
| 117 | } |
| 118 | #endif |
| 119 | |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 120 | sprintf(defsys_cmd, "%s EW MINSIZE=%.7iK PARMREGS=0-13", |
| 121 | defsys_cmd, min_size); |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 122 | sprintf(savesys_cmd, "SAVESYS %s \n IPL %s", |
| 123 | kernel_nss_name, kernel_nss_name); |
| 124 | |
| 125 | __cpcmd(defsys_cmd, NULL, 0, &response); |
| 126 | |
Hongjie Yang | 583b33b | 2008-03-05 12:37:16 +0100 | [diff] [blame] | 127 | if (response != 0) { |
| 128 | kernel_nss_name[0] = '\0'; |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 129 | return; |
Hongjie Yang | 583b33b | 2008-03-05 12:37:16 +0100 | [diff] [blame] | 130 | } |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 131 | |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 132 | len = strlen(savesys_cmd); |
| 133 | ASCEBC(savesys_cmd, len); |
| 134 | response = savesys_ipl_nss(savesys_cmd, len); |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 135 | |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 136 | /* On success: response is equal to the command size, |
| 137 | * max SAVESYS_CMD_SIZE |
| 138 | * On error: response contains the numeric portion of cp error message. |
| 139 | * for SAVESYS it will be >= 263 |
| 140 | */ |
| 141 | if (response > SAVESYS_CMD_SIZE) { |
Hongjie Yang | 583b33b | 2008-03-05 12:37:16 +0100 | [diff] [blame] | 142 | kernel_nss_name[0] = '\0'; |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 143 | return; |
Hongjie Yang | 583b33b | 2008-03-05 12:37:16 +0100 | [diff] [blame] | 144 | } |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 145 | |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 146 | /* re-setup boot command line with new ipl vm parms */ |
| 147 | ipl_update_parameters(); |
| 148 | setup_boot_command_line(); |
| 149 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 150 | ipl_flags = IPL_NSS_VALID; |
| 151 | } |
| 152 | |
| 153 | #else /* CONFIG_SHARED_KERNEL */ |
| 154 | |
| 155 | static inline void create_kernel_nss(void) { } |
| 156 | |
| 157 | #endif /* CONFIG_SHARED_KERNEL */ |
| 158 | |
| 159 | /* |
| 160 | * Clear bss memory |
| 161 | */ |
| 162 | static noinline __init void clear_bss_section(void) |
| 163 | { |
Heiko Carstens | 229d9c6 | 2007-02-21 10:55:29 +0100 | [diff] [blame] | 164 | memset(__bss_start, 0, __bss_stop - __bss_start); |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 165 | } |
| 166 | |
| 167 | /* |
| 168 | * Initialize storage key for kernel pages |
| 169 | */ |
| 170 | static noinline __init void init_kernel_storage_key(void) |
| 171 | { |
| 172 | unsigned long end_pfn, init_pfn; |
| 173 | |
| 174 | end_pfn = PFN_UP(__pa(&_end)); |
| 175 | |
| 176 | for (init_pfn = 0 ; init_pfn < end_pfn; init_pfn++) |
| 177 | page_set_storage_key(init_pfn << PAGE_SHIFT, PAGE_DEFAULT_KEY); |
| 178 | } |
| 179 | |
Christian Borntraeger | 92e6ecf | 2009-03-26 15:23:58 +0100 | [diff] [blame] | 180 | static __initdata struct sysinfo_3_2_2 vmms __aligned(PAGE_SIZE); |
| 181 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 182 | static noinline __init void detect_machine_type(void) |
| 183 | { |
Christian Borntraeger | 92e6ecf | 2009-03-26 15:23:58 +0100 | [diff] [blame] | 184 | /* No VM information? Looks like LPAR */ |
| 185 | if (stsi(&vmms, 3, 2, 2) == -ENOSYS) |
| 186 | return; |
| 187 | if (!vmms.count) |
| 188 | return; |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 189 | |
Christian Borntraeger | 92e6ecf | 2009-03-26 15:23:58 +0100 | [diff] [blame] | 190 | /* Running under KVM? If not we assume z/VM */ |
| 191 | if (!memcmp(vmms.vm[0].cpi, "\xd2\xe5\xd4", 3)) |
Heiko Carstens | 2e5061e | 2008-04-30 13:38:45 +0200 | [diff] [blame] | 192 | machine_flags |= MACHINE_FLAG_KVM; |
Christian Borntraeger | 92e6ecf | 2009-03-26 15:23:58 +0100 | [diff] [blame] | 193 | else |
| 194 | machine_flags |= MACHINE_FLAG_VM; |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 195 | } |
| 196 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 197 | static __init void early_pgm_check_handler(void) |
| 198 | { |
| 199 | unsigned long addr; |
| 200 | const struct exception_table_entry *fixup; |
| 201 | |
| 202 | addr = S390_lowcore.program_old_psw.addr; |
| 203 | fixup = search_exception_tables(addr & PSW_ADDR_INSN); |
| 204 | if (!fixup) |
| 205 | disabled_wait(0); |
| 206 | S390_lowcore.program_old_psw.addr = fixup->fixup | PSW_ADDR_AMODE; |
| 207 | } |
| 208 | |
| 209 | static noinline __init void setup_lowcore_early(void) |
| 210 | { |
| 211 | psw_t psw; |
| 212 | |
| 213 | psw.mask = PSW_BASE_BITS | PSW_DEFAULT_KEY; |
| 214 | psw.addr = PSW_ADDR_AMODE | (unsigned long) s390_base_ext_handler; |
| 215 | S390_lowcore.external_new_psw = psw; |
| 216 | psw.addr = PSW_ADDR_AMODE | (unsigned long) s390_base_pgm_handler; |
| 217 | S390_lowcore.program_new_psw = psw; |
| 218 | s390_base_pgm_handler_fn = early_pgm_check_handler; |
| 219 | } |
| 220 | |
Gerald Schaefer | 53492b1 | 2008-04-30 13:38:46 +0200 | [diff] [blame] | 221 | static noinline __init void setup_hpage(void) |
| 222 | { |
| 223 | #ifndef CONFIG_DEBUG_PAGEALLOC |
| 224 | unsigned int facilities; |
| 225 | |
| 226 | facilities = stfl(); |
| 227 | if (!(facilities & (1UL << 23)) || !(facilities & (1UL << 29))) |
| 228 | return; |
| 229 | machine_flags |= MACHINE_FLAG_HPAGE; |
| 230 | __ctl_set_bit(0, 23); |
| 231 | #endif |
| 232 | } |
| 233 | |
Heiko Carstens | 2e5061e | 2008-04-30 13:38:45 +0200 | [diff] [blame] | 234 | static __init void detect_mvpg(void) |
| 235 | { |
| 236 | #ifndef CONFIG_64BIT |
| 237 | int rc; |
| 238 | |
| 239 | asm volatile( |
| 240 | " la 0,0\n" |
| 241 | " mvpg %2,%2\n" |
| 242 | "0: la %0,0\n" |
| 243 | "1:\n" |
| 244 | EX_TABLE(0b,1b) |
| 245 | : "=d" (rc) : "0" (-EOPNOTSUPP), "a" (0) : "memory", "cc", "0"); |
| 246 | if (!rc) |
| 247 | machine_flags |= MACHINE_FLAG_MVPG; |
| 248 | #endif |
| 249 | } |
| 250 | |
| 251 | static __init void detect_ieee(void) |
| 252 | { |
| 253 | #ifndef CONFIG_64BIT |
| 254 | int rc, tmp; |
| 255 | |
| 256 | asm volatile( |
| 257 | " efpc %1,0\n" |
| 258 | "0: la %0,0\n" |
| 259 | "1:\n" |
| 260 | EX_TABLE(0b,1b) |
| 261 | : "=d" (rc), "=d" (tmp): "0" (-EOPNOTSUPP) : "cc"); |
| 262 | if (!rc) |
| 263 | machine_flags |= MACHINE_FLAG_IEEE; |
| 264 | #endif |
| 265 | } |
| 266 | |
| 267 | static __init void detect_csp(void) |
| 268 | { |
| 269 | #ifndef CONFIG_64BIT |
| 270 | int rc; |
| 271 | |
| 272 | asm volatile( |
| 273 | " la 0,0\n" |
| 274 | " la 1,0\n" |
| 275 | " la 2,4\n" |
| 276 | " csp 0,2\n" |
| 277 | "0: la %0,0\n" |
| 278 | "1:\n" |
| 279 | EX_TABLE(0b,1b) |
| 280 | : "=d" (rc) : "0" (-EOPNOTSUPP) : "cc", "0", "1", "2"); |
| 281 | if (!rc) |
| 282 | machine_flags |= MACHINE_FLAG_CSP; |
| 283 | #endif |
| 284 | } |
| 285 | |
| 286 | static __init void detect_diag9c(void) |
| 287 | { |
| 288 | unsigned int cpu_address; |
| 289 | int rc; |
| 290 | |
| 291 | cpu_address = stap(); |
| 292 | asm volatile( |
| 293 | " diag %2,0,0x9c\n" |
| 294 | "0: la %0,0\n" |
| 295 | "1:\n" |
| 296 | EX_TABLE(0b,1b) |
| 297 | : "=d" (rc) : "0" (-EOPNOTSUPP), "d" (cpu_address) : "cc"); |
| 298 | if (!rc) |
| 299 | machine_flags |= MACHINE_FLAG_DIAG9C; |
| 300 | } |
| 301 | |
| 302 | static __init void detect_diag44(void) |
| 303 | { |
| 304 | #ifdef CONFIG_64BIT |
| 305 | int rc; |
| 306 | |
| 307 | asm volatile( |
| 308 | " diag 0,0,0x44\n" |
| 309 | "0: la %0,0\n" |
| 310 | "1:\n" |
| 311 | EX_TABLE(0b,1b) |
| 312 | : "=d" (rc) : "0" (-EOPNOTSUPP) : "cc"); |
| 313 | if (!rc) |
| 314 | machine_flags |= MACHINE_FLAG_DIAG44; |
| 315 | #endif |
| 316 | } |
| 317 | |
| 318 | static __init void detect_machine_facilities(void) |
| 319 | { |
| 320 | #ifdef CONFIG_64BIT |
| 321 | unsigned int facilities; |
| 322 | |
| 323 | facilities = stfl(); |
| 324 | if (facilities & (1 << 28)) |
| 325 | machine_flags |= MACHINE_FLAG_IDTE; |
Gerald Schaefer | 53492b1 | 2008-04-30 13:38:46 +0200 | [diff] [blame] | 326 | if (facilities & (1 << 23)) |
| 327 | machine_flags |= MACHINE_FLAG_PFMF; |
Heiko Carstens | 2e5061e | 2008-04-30 13:38:45 +0200 | [diff] [blame] | 328 | if (facilities & (1 << 4)) |
| 329 | machine_flags |= MACHINE_FLAG_MVCOS; |
| 330 | #endif |
| 331 | } |
| 332 | |
Heiko Carstens | 761cdf6 | 2008-07-14 09:58:55 +0200 | [diff] [blame] | 333 | static __init void rescue_initrd(void) |
| 334 | { |
| 335 | #ifdef CONFIG_BLK_DEV_INITRD |
| 336 | /* |
| 337 | * Move the initrd right behind the bss section in case it starts |
| 338 | * within the bss section. So we don't overwrite it when the bss |
| 339 | * section gets cleared. |
| 340 | */ |
| 341 | if (!INITRD_START || !INITRD_SIZE) |
| 342 | return; |
| 343 | if (INITRD_START >= (unsigned long) __bss_stop) |
| 344 | return; |
| 345 | memmove(__bss_stop, (void *) INITRD_START, INITRD_SIZE); |
| 346 | INITRD_START = (unsigned long) __bss_stop; |
| 347 | #endif |
| 348 | } |
| 349 | |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 350 | /* Set up boot command line */ |
| 351 | static void __init setup_boot_command_line(void) |
| 352 | { |
| 353 | char *parm = NULL; |
| 354 | |
| 355 | /* copy arch command line */ |
| 356 | strlcpy(boot_command_line, COMMAND_LINE, ARCH_COMMAND_LINE_SIZE); |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 357 | |
| 358 | /* append IPL PARM data to the boot command line */ |
| 359 | if (MACHINE_IS_VM) { |
| 360 | parm = boot_command_line + strlen(boot_command_line); |
| 361 | *parm++ = ' '; |
| 362 | get_ipl_vmparm(parm); |
| 363 | if (parm[0] == '=') |
| 364 | memmove(boot_command_line, parm + 1, strlen(parm)); |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 369 | /* |
| 370 | * Save ipl parameters, clear bss memory, initialize storage keys |
| 371 | * and create a kernel NSS at startup if the SAVESYS= parm is defined |
| 372 | */ |
| 373 | void __init startup_init(void) |
| 374 | { |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 375 | ipl_save_parameters(); |
Heiko Carstens | 761cdf6 | 2008-07-14 09:58:55 +0200 | [diff] [blame] | 376 | rescue_initrd(); |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 377 | clear_bss_section(); |
| 378 | init_kernel_storage_key(); |
| 379 | lockdep_init(); |
| 380 | lockdep_off(); |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 381 | sort_main_extable(); |
| 382 | setup_lowcore_early(); |
Hendrik Brueckner | a0443fb | 2008-07-14 09:59:09 +0200 | [diff] [blame] | 383 | detect_machine_type(); |
| 384 | ipl_update_parameters(); |
| 385 | setup_boot_command_line(); |
| 386 | create_kernel_nss(); |
Heiko Carstens | 2e5061e | 2008-04-30 13:38:45 +0200 | [diff] [blame] | 387 | detect_mvpg(); |
| 388 | detect_ieee(); |
| 389 | detect_csp(); |
| 390 | detect_diag9c(); |
| 391 | detect_diag44(); |
| 392 | detect_machine_facilities(); |
Gerald Schaefer | 53492b1 | 2008-04-30 13:38:46 +0200 | [diff] [blame] | 393 | setup_hpage(); |
Heiko Carstens | 83119ad | 2007-07-10 11:24:10 +0200 | [diff] [blame] | 394 | sclp_facilities_detect(); |
Heiko Carstens | 23d1742 | 2008-07-14 09:59:21 +0200 | [diff] [blame] | 395 | detect_memory_layout(memory_chunk); |
Christian Ehrhardt | 25097bf | 2009-04-14 15:36:16 +0200 | [diff] [blame^] | 396 | S390_lowcore.machine_flags = machine_flags; |
Heiko Carstens | ab14de6 | 2007-02-05 21:18:37 +0100 | [diff] [blame] | 397 | lockdep_on(); |
| 398 | } |