From f7674e54ccb92a1b99af6e930bab75560ff2dfd7 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 24 Oct 2008 12:32:36 -0700 Subject: Fix hrtimer.expires name change. The field is renamed to _expires starting in 2.6.28-rc1, and it's not meant to be directly manipulated. Instead hrtimer users are supposed to use hrtimer_get_expires and hrtimer_set_expires. --- runtime/ChangeLog | 4 ++++ runtime/autoconf-hrtimer-getset-expires.c | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 runtime/autoconf-hrtimer-getset-expires.c (limited to 'runtime') diff --git a/runtime/ChangeLog b/runtime/ChangeLog index 8aea0411..62ecbec6 100644 --- a/runtime/ChangeLog +++ b/runtime/ChangeLog @@ -1,3 +1,7 @@ +2008-10-24 Josh Stone + + * autoconf-hrtimer-getset-expires.c: New file. + 2008-10-17 Wenji Huang * task_finder_vma.c (__stp_tf_vma_get_free_entry): Initialize entry. diff --git a/runtime/autoconf-hrtimer-getset-expires.c b/runtime/autoconf-hrtimer-getset-expires.c new file mode 100644 index 00000000..951cb99b --- /dev/null +++ b/runtime/autoconf-hrtimer-getset-expires.c @@ -0,0 +1,6 @@ +#include + +void ____autoconf_func(struct hrtimer *t) +{ + hrtimer_set_expires(t, hrtimer_get_expires(t)); +} -- cgit