summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-19 22:55:27 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-21 23:25:00 +0200
commitf539d49eeb5a1645264cf62083e88380b58b4f01 (patch)
tree9e4f78d145c0c830d43137a034a838e17682acea /package/gcc
parent4688b3a7e20578a761b7e54a392814323c8e4200 (diff)
downloadbuildroot-f539d49eeb5a1645264cf62083e88380b58b4f01.tar.gz
buildroot-f539d49eeb5a1645264cf62083e88380b58b4f01.zip
kvmtool: fix build with kernel headers >= 4.12
In Linux 4.12, the header <asm/msr-index.h> has been removed from the set of headers exported to userspace. Therefore, it cannot be used by kvmtool anymore. This commit takes the simple approach of duplicating inside kvmtool the MSR_* definitions that were used from this <asm/msr-index.h> header. This fixes: x86/kvm-cpu.c:7:27: fatal error: asm/msr-index.h: No such file or directory #include <asm/msr-index.h> Which is the second part of: http://autobuild.buildroot.net/results/4459a909e735343d1cf768d30466bc3c57eca19e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud