[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100126233921.099242955@mini.kroah.org>
Date: Tue, 26 Jan 2010 15:33:28 -0800
From: Greg KH <gregkh@...e.de>
To: linux-kernel@...r.kernel.org, stable@...nel.org
Cc: stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
H Hartley Sweeten <hsweeten@...ionengravers.com>,
johnstul@...ibm.com, Thomas Gleixner <tglx@...utronix.de>
Subject: [02/98] clockevents: Add missing include to pacify sparse
2.6.32-stable review patch. If anyone has any objections, please let us know.
------------------
From: H Hartley Sweeten <hartleys@...ionengravers.com>
commit 8e1a928a2ed7e8d5cad97c8e985294b4caedd168 upstream.
Include "tick-internal.h" in order to pick up the extern function
prototype for clockevents_shutdown(). This quiets the following sparse
build noise:
warning: symbol 'clockevents_shutdown' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
LKML-Reference: <BD79186B4FD85F4B8E60E381CAEE190901E24550@...nycmail19.Mi8.com>
Reviewed-by: Yong Zhang <yong.zhang0@...il.com>
Cc: johnstul@...ibm.com
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
kernel/time/clockevents.c | 2 ++
1 file changed, 2 insertions(+)
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -20,6 +20,8 @@
#include <linux/sysdev.h>
#include <linux/tick.h>
+#include "tick-internal.h"
+
/* The registered clock event devices */
static LIST_HEAD(clockevent_devices);
static LIST_HEAD(clockevents_released);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists