cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/lib/cpu.c

Directory: arch/x86/lib
#include <linux/types.h>
#include <linux/export.h>


unsigned int x86_family(unsigned int sig) { unsigned int x86; x86 = (sig >> 8) & 0xf; if (x86 == 0xf) x86 += (sig >> 20) & 0xff; return x86; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov43100.00%1100.00%
Total43100.00%1100.00%

EXPORT_SYMBOL_GPL(x86_family);
unsigned int x86_model(unsigned int sig) { unsigned int fam, model; fam = x86_family(sig); model = (sig >> 4) & 0xf; if (fam >= 0x6) model += ((sig >> 16) & 0xf) << 4; return model; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov56100.00%1100.00%
Total56100.00%1100.00%

EXPORT_SYMBOL_GPL(x86_model);
unsigned int x86_stepping(unsigned int sig) { return sig & 0xf; }

Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov15100.00%1100.00%
Total15100.00%1100.00%

EXPORT_SYMBOL_GPL(x86_stepping);

Overall Contributors

PersonTokensPropCommitsCommitProp
Borislav Petkov13197.04%150.00%
Paul Gortmaker42.96%150.00%
Total135100.00%2100.00%
Directory: arch/x86/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.