/* * Copyright (C) 1994 Linus Torvalds * * Cyrix stuff, June 1998 by: * - Rafael R. Reilova (moved everything from head.S), * <rreilova@ececs.uc.edu> * - Channing Corn (tests & fixes), * - Andrew D. Balsa (code cleanup). */ #include <linux/init.h> #include <linux/utsname.h> #include <asm/bugs.h> #include <asm/processor.h> #include <asm/processor-flags.h> #include <asm/fpu/internal.h> #include <asm/msr.h> #include <asm/paravirt.h> #include <asm/alternative.h>
void __init check_bugs(void) { identify_boot_cpu(); #ifndef CONFIG_SMP pr_info("CPU: "); print_cpu_info(&boot_cpu_data); #endif /* * Check whether we are able to run this kernel safely on SMP. * * - i386 is no longer supported. * - In order to run on anything without a TSC, we need to be * compiled for a i486. */ if (boot_cpu_data.x86 < 4) panic("Kernel requires i486+ for 'invlpg' and other features"); init_utsname()->machine[1] = '0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86); alternative_instructions(); fpu__init_check_bugs(); }Contributors
| Person | Tokens | Prop | Commits | CommitProp | |
| jeremy fitzhardinge | jeremy fitzhardinge | 54 | 76.06% | 1 | 20.00% |
| borislav petkov | borislav petkov | 13 | 18.31% | 1 | 20.00% |
| suresh siddha | suresh siddha | 2 | 2.82% | 1 | 20.00% |
| joe perches | joe perches | 1 | 1.41% | 1 | 20.00% |
| ingo molnar | ingo molnar | 1 | 1.41% | 1 | 20.00% |
| Total | 71 | 100.00% | 5 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| jeremy fitzhardinge | jeremy fitzhardinge | 74 | 74.75% | 1 | 11.11% |
| borislav petkov | borislav petkov | 13 | 13.13% | 1 | 11.11% |
| dave jones | dave jones | 4 | 4.04% | 2 | 22.22% |
| josh triplett | josh triplett | 3 | 3.03% | 1 | 11.11% |
| suresh siddha | suresh siddha | 2 | 2.02% | 1 | 11.11% |
| ingo molnar | ingo molnar | 2 | 2.02% | 2 | 22.22% |
| joe perches | joe perches | 1 | 1.01% | 1 | 11.11% |
| Total | 99 | 100.00% | 9 | 100.00% |