commit | 142d86921e6f271261584016fc8cfa5cdbf455ba | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@amacapital.net> | Fri Aug 22 20:31:36 2014 -0700 |
committer | Andy Lutomirski <luto@amacapital.net> | Wed Sep 17 15:21:44 2014 -0700 |
tree | 9bf3963ae15edd8acae13a44c237af857c868c9b | |
parent | b9bc1522a9b95cf772bfd345ce97ef2315c946f6 [diff] |
x86,cpuid: Consolidate native_cpuid and boot/cpuflags.c's cpuid Currently, native_cpuid works in 32-bit non-PIC code and 64-bit PIC code. The cpuid function in arch/x86/boot/cpuflags.c works in 16-bit and 32-bit PIC and non-PIC code. Consolidate them into a single implementation that works in all compilation modes. Signed-off-by: Andy Lutomirski <luto@amacapital.net>