From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758599AbZJEHoi (ORCPT ); Mon, 5 Oct 2009 03:44:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758587AbZJEHoh (ORCPT ); Mon, 5 Oct 2009 03:44:37 -0400 Received: from chilli.pcug.org.au ([203.10.76.44]:36596 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758573AbZJEHog (ORCPT ); Mon, 5 Oct 2009 03:44:36 -0400 Date: Mon, 5 Oct 2009 18:43:57 +1100 From: Stephen Rothwell To: "David S. Miller" Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: linux-next: sparc tree build failure Message-Id: <20091005184357.a6f41165.sfr@canb.auug.org.au> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 --- 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 #include #include +#include /* for HZ */ #ifdef CONFIG_SPARC64 #include #include -- 1.6.4.3 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/