Skip to content
Commit 4b74c718 authored by Thomas Huth's avatar Thomas Huth Committed by Paolo Bonzini
Browse files

x86/pmu: Fix compilation on 32-bit hosts



When building for 32-bit hosts, the compiler currently complains:

 x86/pmu.c: In function 'check_gp_counters_write_width':
 x86/pmu.c:490:30: error: left shift count >= width of type

Use the correct suffix to avoid this problem.

Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Message-Id: <20200616105940.2907-1-thuth@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 31e68df7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment