* [PATCH] timekeeping: Fix build when generic clockevents are enabled
@ 2012-08-09 11:59 Mark Brown
2012-08-09 19:43 ` Rafael J. Wysocki
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Mark Brown @ 2012-08-09 11:59 UTC (permalink / raw)
To: Thomas Gleixner, Rafael J. Wysocki; +Cc: linux-kernel, Mark Brown
Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
added suspend and resume operations for clockevents but did not provide
stubs for these functions, breaking the build when clockevents are not
being built. Add the stubs.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
include/linux/clockchips.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index ca060db..4f9c280 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -170,6 +170,8 @@ extern void clockevents_notify(unsigned long reason, void *arg);
#else /* CONFIG_GENERIC_CLOCKEVENTS_BUILD */
#define clockevents_notify(reason, arg) do { } while (0)
+#define clockevents_suspend() do { } while (0)
+#define clockevents_resume() do { } while (0)
#endif
--
1.7.10.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] timekeeping: Fix build when generic clockevents are enabled
2012-08-09 11:59 [PATCH] timekeeping: Fix build when generic clockevents are enabled Mark Brown
@ 2012-08-09 19:43 ` Rafael J. Wysocki
2012-08-09 19:48 ` Rafael J. Wysocki
2012-08-13 15:07 ` Thomas Gleixner
2 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2012-08-09 19:43 UTC (permalink / raw)
To: Mark Brown; +Cc: Thomas Gleixner, linux-kernel
On Thursday, August 09, 2012, Mark Brown wrote:
> Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
> added suspend and resume operations for clockevents but did not provide
> stubs for these functions, breaking the build when clockevents are not
> being built. Add the stubs.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
I've fixed that already in my tree.
Thanks,
Rafael
> ---
> include/linux/clockchips.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
> index ca060db..4f9c280 100644
> --- a/include/linux/clockchips.h
> +++ b/include/linux/clockchips.h
> @@ -170,6 +170,8 @@ extern void clockevents_notify(unsigned long reason, void *arg);
> #else /* CONFIG_GENERIC_CLOCKEVENTS_BUILD */
>
> #define clockevents_notify(reason, arg) do { } while (0)
> +#define clockevents_suspend() do { } while (0)
> +#define clockevents_resume() do { } while (0)
>
> #endif
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] timekeeping: Fix build when generic clockevents are enabled
2012-08-09 11:59 [PATCH] timekeeping: Fix build when generic clockevents are enabled Mark Brown
2012-08-09 19:43 ` Rafael J. Wysocki
@ 2012-08-09 19:48 ` Rafael J. Wysocki
2012-08-13 15:07 ` Thomas Gleixner
2 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2012-08-09 19:48 UTC (permalink / raw)
To: Mark Brown; +Cc: Thomas Gleixner, linux-kernel
On Thursday, August 09, 2012, Mark Brown wrote:
> Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
> added suspend and resume operations for clockevents but did not provide
> stubs for these functions, breaking the build when clockevents are not
> being built. Add the stubs.
By the way, if you use commit IDs in changelogs like this, please say that
they are linux-next commits if that's the case. Otherwise it may look like
you're fixing a mainline issue, which is not the case here.
This particular commit is not present in any pulished tree except for
linux-next (yet), which is deliberate, because it's going to be rebased in
the future and its hash will change.
Thanks,
Rafael
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] timekeeping: Fix build when generic clockevents are enabled
2012-08-09 11:59 [PATCH] timekeeping: Fix build when generic clockevents are enabled Mark Brown
2012-08-09 19:43 ` Rafael J. Wysocki
2012-08-09 19:48 ` Rafael J. Wysocki
@ 2012-08-13 15:07 ` Thomas Gleixner
2012-08-13 15:07 ` Mark Brown
2 siblings, 1 reply; 6+ messages in thread
From: Thomas Gleixner @ 2012-08-13 15:07 UTC (permalink / raw)
To: Mark Brown; +Cc: Rafael J. Wysocki, linux-kernel
On Thu, 9 Aug 2012, Mark Brown wrote:
> Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
Against which tree is that?
> added suspend and resume operations for clockevents but did not provide
> stubs for these functions, breaking the build when clockevents are not
> being built. Add the stubs.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> include/linux/clockchips.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
> index ca060db..4f9c280 100644
> --- a/include/linux/clockchips.h
> +++ b/include/linux/clockchips.h
> @@ -170,6 +170,8 @@ extern void clockevents_notify(unsigned long reason, void *arg);
> #else /* CONFIG_GENERIC_CLOCKEVENTS_BUILD */
>
> #define clockevents_notify(reason, arg) do { } while (0)
> +#define clockevents_suspend() do { } while (0)
> +#define clockevents_resume() do { } while (0)
>
> #endif
>
> --
> 1.7.10.4
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] timekeeping: Fix build when generic clockevents are enabled
2012-08-13 15:07 ` Thomas Gleixner
@ 2012-08-13 15:07 ` Mark Brown
2012-08-13 18:48 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2012-08-13 15:07 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Rafael J. Wysocki, linux-kernel
On Mon, Aug 13, 2012 at 05:07:06PM +0200, Thomas Gleixner wrote:
> On Thu, 9 Aug 2012, Mark Brown wrote:
> > Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
> Against which tree is that?
-next. I think Raphael already folded it into the offending commit.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] timekeeping: Fix build when generic clockevents are enabled
2012-08-13 15:07 ` Mark Brown
@ 2012-08-13 18:48 ` Rafael J. Wysocki
0 siblings, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2012-08-13 18:48 UTC (permalink / raw)
To: Mark Brown; +Cc: Thomas Gleixner, linux-kernel
On Monday, August 13, 2012, Mark Brown wrote:
> On Mon, Aug 13, 2012 at 05:07:06PM +0200, Thomas Gleixner wrote:
> > On Thu, 9 Aug 2012, Mark Brown wrote:
>
> > > Commit a2c204 (timekeeping: Add suspend and resume of clock event devices)
>
> > Against which tree is that?
>
> -next. I think Raphael already folded it into the offending commit.
In fact I'd applied the equivalent fix before I got your report. :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-08-13 18:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 11:59 [PATCH] timekeeping: Fix build when generic clockevents are enabled Mark Brown
2012-08-09 19:43 ` Rafael J. Wysocki
2012-08-09 19:48 ` Rafael J. Wysocki
2012-08-13 15:07 ` Thomas Gleixner
2012-08-13 15:07 ` Mark Brown
2012-08-13 18:48 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.