[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091005184357.a6f41165.sfr@canb.auug.org.au>
Date: Mon, 5 Oct 2009 18:43:57 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "David S. Miller" <davem@...emloft.net>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: linux-next: sparc tree build failure
Hi Dave,
Today's linux-next build (sparc64 defconfig) failed like this:
arch/sparc/oprofile/init.c: In function 'timer_start':
arch/sparc/oprofile/init.c:46: error: 'HZ' undeclared (first use in this function)
I have no idea why this just cropped up, but I have added the following
patch for today.
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Mon, 5 Oct 2009 18:32:33 +1100
Subject: [PATCH] sparc: using HZ needs an include of linux/param.h
Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
---
arch/sparc/oprofile/init.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/sparc/oprofile/init.c b/arch/sparc/oprofile/init.c
index f97cb8b..62f4120 100644
--- a/arch/sparc/oprofile/init.c
+++ b/arch/sparc/oprofile/init.c
@@ -11,7 +11,8 @@
#include <linux/oprofile.h>
#include <linux/errno.h>
#include <linux/init.h>
+#include <linux/param.h> /* for HZ */
#ifdef CONFIG_SPARC64
#include <linux/notifier.h>
#include <linux/rcupdate.h>
--
1.6.4.3
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
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