diff options
author | James Morris <jmorris@namei.org> | 2006-12-22 01:04:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-22 08:55:45 -0800 |
commit | 5aacf0ca4128fdeadf91c0ac50271841b643d1fd (patch) | |
tree | b951292c844b53d8be8c315419a12c86463f6b7c /crypto/Kconfig | |
parent | 5f2a105d5e33a038a717995d2738434f9c25aed2 (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 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions