cregit-Linux how code gets into the kernel

Release 4.9 arch/x86/kernel/cpu/bugs.c

/*
 *  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

PersonTokensPropCommitsCommitProp
jeremy fitzhardingejeremy fitzhardinge5476.06%120.00%
borislav petkovborislav petkov1318.31%120.00%
suresh siddhasuresh siddha22.82%120.00%
ingo molnaringo molnar11.41%120.00%
joe perchesjoe perches11.41%120.00%
Total71100.00%5100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
jeremy fitzhardingejeremy fitzhardinge7474.75%111.11%
borislav petkovborislav petkov1313.13%111.11%
dave jonesdave jones44.04%222.22%
josh triplettjosh triplett33.03%111.11%
ingo molnaringo molnar22.02%222.22%
suresh siddhasuresh siddha22.02%111.11%
joe perchesjoe perches11.01%111.11%
Total99100.00%9100.00%