aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2006-12-22 04:04:55 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-22 11:55:45 -0500
commit5aacf0ca4128fdeadf91c0ac50271841b643d1fd (patch)
treeb951292c844b53d8be8c315419a12c86463f6b7c /include/asm-ia64
parent5f2a105d5e33a038a717995d2738434f9c25aed2 (diff)
[PATCH] KVM: add valid_vcpu() helper
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>
Diffstat (limited to 'include/asm-ia64')
0 files changed, 0 insertions, 0 deletions