git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2a105
)
[PATCH] KVM: add valid_vcpu() helper
author
James Morris
<jmorris@namei.org>
Fri, 22 Dec 2006 09:04:55 +0000
(
01:04
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:45 +0000
(08:55 -0800)
Consolidate the logic for checking whether a vcpu index is valid. Also, use
likely(), as a valid value should be the overwhelmingly common case.
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
No differences found