summaryrefslogtreecommitdiff
path: root/kern/kernel.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-10-02 22:58:36 +0200
committerRichard Braun <rbraun@sceen.net>2014-10-02 22:58:36 +0200
commit9035600ebf6d06efcc21576e75766d82ab2b5e69 (patch)
treecd6d0bc31dc30ada55cf44e9f521a5f5faec8fa5 /kern/kernel.c
parent68ec6c7517e09ef0869d81847961667fc7024dc0 (diff)
x86/cpu: fix CPUID usage on amd64
The cpu_cpuid wrapper used unsigned long integers to store register content, although the CPUID instruction uses 32-bits integers in all modes. This was leading to a corruption of the cpu structures. Fix by using unsigned int integers instead.
Diffstat (limited to 'kern/kernel.c')
0 files changed, 0 insertions, 0 deletions