Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68380
b: refs/heads/master
c: bfc733a
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell authored and Avi Kivity committed Oct 13, 2007
1 parent eef1ceb commit 2417129
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e9d619d2aa28b71d547edfa15c66d6ab9a3a39c
refs/heads/master: bfc733a7a32612fe213a7492c385f2b03f592d7f
9 changes: 4 additions & 5 deletions trunk/drivers/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ static int svm_cpu_init(int cpu)

}

static int set_msr_interception(u32 *msrpm, unsigned msr,
int read, int write)
static void set_msr_interception(u32 *msrpm, unsigned msr,
int read, int write)
{
int i;

Expand All @@ -375,11 +375,10 @@ static int set_msr_interception(u32 *msrpm, unsigned msr,
u32 mask = ((write) ? 0 : 2) | ((read) ? 0 : 1);
*base = (*base & ~(0x3 << msr_shift)) |
(mask << msr_shift);
return 1;
return;
}
}
printk(KERN_DEBUG "%s: not found 0x%x\n", __FUNCTION__, msr);
return 0;
BUG();
}

static __init int svm_hardware_setup(void)
Expand Down

0 comments on commit 2417129

Please sign in to comment.