[PATCH]: tick-sched.c build fix

From: David Miller
Date: Sun Feb 25 2007 - 00:42:23 EST



While getting dynticks/hrtimers up on sparc64 I ran into
the following build problem. If you use get_irq_regs() you
need to include asm/irq_regs.h

Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 512a4a9..51556b9 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -21,6 +21,8 @@
#include <linux/sched.h>
#include <linux/tick.h>

+#include <asm/irq_regs.h>
+
#include "tick-internal.h"

/*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/