Re: [patch 00/21] high resolution timers / dynamic ticks - V2

From: Valdis . Kletnieks
Date: Mon Oct 02 2006 - 01:14:21 EST


On Sun, 01 Oct 2006 22:59:01 -0000, Thomas Gleixner said:

> the following patch series is an update in response to your review.

This complains if you try to compile with -Werror-implicit-function-declaration
and rightly so, as we're missing a #include to define IS_ERR_VALUE().

Patch attached.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@xxxxxx>

--- linux-2.6.18-mm2/kernel/hrtimer.c.buggy 2006-10-02 00:46:50.000000000 -0400
+++ linux-2.6.18-mm2/kernel/hrtimer.c 2006-10-02 01:02:55.000000000 -0400
@@ -43,6 +43,7 @@
#include <linux/clockchips.h>
#include <linux/profile.h>
#include <linux/seq_file.h>
+#include <linux/err.h>

#include <asm/uaccess.h>

--- linux-2.6.18-mm2/kernel/time/clockevents.c.buggy 2006-10-02 00:46:50.000000000 -0400
+++ linux-2.6.18-mm2/kernel/time/clockevents.c 2006-10-02 01:04:22.000000000 -0400
@@ -33,6 +33,7 @@
#include <linux/profile.h>
#include <linux/sysdev.h>
#include <linux/hrtimer.h>
+#include <linux/err.h>

#define MAX_CLOCK_EVENTS 4
#define GLOBAL_CLOCK_EVENT MAX_CLOCK_EVENTS

Attachment: pgp00000.pgp
Description: PGP signature