summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-09 01:49:13 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-16 11:55:01 +0200
commit270dadd7ea31c1bc43a0b1de118a30c2238171a8 (patch)
treeebb89db60ecd0194cc920e311787b1bee83e2ece /fs/nfs
parent8526240f86701eb7e8790c9ebbeb19fed5b86db2 (diff)
downloadlinux-stable-270dadd7ea31c1bc43a0b1de118a30c2238171a8.tar.gz
linux-stable-270dadd7ea31c1bc43a0b1de118a30c2238171a8.tar.bz2
linux-stable-270dadd7ea31c1bc43a0b1de118a30c2238171a8.zip
kvm: fix previous commit for 32-bit builds
commit 4422829e8053068e0225e4d0ef42dc41ea7c9ef5 upstream. array_index_nospec does not work for uint64_t on 32-bit builds. However, the size of a memory slot must be less than 20 bits wide on those system, since the memory slot must fit in the user address space. So just store it in an unsigned long. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions