From d80218483d712595d2bb08f2695be072f25e2cf6 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 4 Feb 2010 21:08:38 +0000 Subject: [PATCH] Revert incorrect change to powerpc clocksource setup svn path=/dists/trunk/linux-2.6/; revision=15122 --- debian/changelog | 1 + ...ays-define-clocksource_max_deferment.patch | 20 +++++++++++++++++++ debian/patches/series/8 | 2 ++ 3 files changed, 23 insertions(+) create mode 100644 debian/patches/bugfix/all/clocksource-always-define-clocksource_max_deferment.patch diff --git a/debian/changelog b/debian/changelog index 6a2ba31ef..503b21f7e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ linux-2.6 (2.6.32-8) UNRELEASED; urgency=low [ Ben Hutchings ] * Build lgs8gxx driver along with cxusb (Closes: #568414) + * Revert incorrect change to powerpc clocksource setup -- Bastian Blank Thu, 04 Feb 2010 12:08:47 +0100 diff --git a/debian/patches/bugfix/all/clocksource-always-define-clocksource_max_deferment.patch b/debian/patches/bugfix/all/clocksource-always-define-clocksource_max_deferment.patch new file mode 100644 index 000000000..97e906bb7 --- /dev/null +++ b/debian/patches/bugfix/all/clocksource-always-define-clocksource_max_deferment.patch @@ -0,0 +1,20 @@ +--- a/kernel/time/clocksource.c ++++ b/kernel/time/clocksource.c +@@ -466,8 +466,6 @@ void clocksource_touch_watchdog(void) + clocksource_resume_watchdog(); + } + +-#ifdef CONFIG_GENERIC_TIME +- + /** + * clocksource_max_deferment - Returns max time the clocksource can be deferred + * @cs: Pointer to clocksource +@@ -509,6 +507,8 @@ static u64 clocksource_max_deferment(struct clocksource *cs) + return max_nsecs - (max_nsecs >> 5); + } + ++#ifdef CONFIG_GENERIC_TIME ++ + /** + * clocksource_select - Select the best clocksource available + * diff --git a/debian/patches/series/8 b/debian/patches/series/8 index 7b732e77c..a2e53f425 100644 --- a/debian/patches/series/8 +++ b/debian/patches/series/8 @@ -2,3 +2,5 @@ + bugfix/powerpc/powerpc-tif_abi_pending-bit-removal.patch + bugfix/sparc/sparc-tif_abi_pending-bit-removal.patch + bugfix/all/cxusb-select-lgs8gxx.patch +- bugfix/all/clocksource-events-Fix-fallout-of-generic-code-changes.patch ++ bugfix/all/clocksource-always-define-clocksource_max_deferment.patch