summaryrefslogtreecommitdiff
path: root/mm/fadvise.c
diff options
context:
space:
mode:
authorMinfei Huang <mnghuan@gmail.com>2016-05-28 12:27:43 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-27 13:12:15 (GMT)
commited911b43adb889c37a37fa57a995f0b460c633b6 (patch)
tree8ddec33ffec607c9255063dfd388c6b69249a378 /mm/fadvise.c
parentf7550d076d55c1b5f02f95012e3a5a84d264c47d (diff)
downloadlinux-ed911b43adb889c37a37fa57a995f0b460c633b6.tar.xz
pvclock: Get rid of __pvclock_read_cycles in function pvclock_read_flags
There is a generic function __pvclock_read_cycles to be used to get both flags and cycles. For function pvclock_read_flags, it's useless to get cycles value. To make this function be more effective, get this variable flags directly in function. Signed-off-by: Minfei Huang <mnghuan@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions