#include #include #include "timer.h" void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec, unsigned long usec) { itimer->it_interval.tv_sec = sec; itimer->it_interval.tv_usec = usec; itimer->it_value.tv_sec = sec; itimer->it_value.tv_usec = usec; } int get_user_hz(void) { return sysconf(_SC_CLK_TCK); } href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>2016-05-04 14:09:45 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-18 18:04:28 +0200
commit3d5615e5342781453633af7107d72afd601b36a7 (patch)
tree6bef86aa4fdb36bdbb24dd69efb8ca1718d46da7
parentdd1a4cc1fbdf516bb38ca31b65c76e720d414d0d (diff)
svm: Introduce new AVIC VMCB registers
Introduce new AVIC VMCB registers. Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>