diff options
author | Andrew Morton <[email protected]> | 2015-06-10 11:15:02 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-06-10 16:43:43 -0700 |
commit | 5ec45a192fe6e287f0fc06d5ca4f3bd446d94803 (patch) | |
tree | 328c860109d2b5c4f7931230c4b69bae4c541d49 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 8e76d4eecf7afeec9328e21cd5880e281838d0d6 (diff) |
arch/x86/kvm/mmu.c: work around gcc-4.4.4 bug
Fix this compile issue with gcc-4.4.4:
arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':
arch/x86/kvm/mmu.c:4256: error: unknown field 'cr0_wp' specified in initializer
arch/x86/kvm/mmu.c:4257: error: unknown field 'cr4_pae' specified in initializer
arch/x86/kvm/mmu.c:4257: warning: excess elements in union initializer
...
gcc-4.4.4 (at least) has issues when using anonymous unions in
initializers.
Fixes: edc90b7dc4ceef6 ("KVM: MMU: fix SMAP virtualization")
Cc: Xiao Guangrong <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions