x86: Fix cpuid detection
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 8 Sep 2017 16:44:38 +0000 (12:44 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 8 Sep 2017 17:49:51 +0000 (13:49 -0400)
commite9c8add175523458ef08e132c957142c160d5833
treec552cfa71199901f9897370e3b82ce2404d557b1
parent9d0bddd46ae15577a8bb564b16b944e833e3bce2
x86: Fix cpuid detection

You're only supposed to use the extended family and model under certain
circumstances.  Also, extended model is a concat, not an add.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/cpuinfo.c