Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7ebaf15e
Commit
7ebaf15e
authored
Oct 03, 2010
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: MMU: Avoid sign extension in mmu_alloc_direct_roots() pae root address
Signed-off-by:
Avi Kivity
<
avi@redhat.com
>
parent
33770780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.c
+1
-1
No files found.
arch/x86/kvm/mmu.c
View file @
7ebaf15e
...
...
@@ -2374,7 +2374,7 @@ static int mmu_check_root(struct kvm_vcpu *vcpu, gfn_t root_gfn)
static
int
mmu_alloc_direct_roots
(
struct
kvm_vcpu
*
vcpu
)
{
struct
kvm_mmu_page
*
sp
;
int
i
;
unsigned
i
;
if
(
vcpu
->
arch
.
mmu
.
shadow_root_level
==
PT64_ROOT_LEVEL
)
{
spin_lock
(
&
vcpu
->
kvm
->
mmu_lock
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment