Re: [PATCH]: tick-sched.c build fix

From: Thomas Gleixner
Date: Sun Feb 25 2007 - 03:59:40 EST


On Sat, 2007-02-24 at 21:42 -0800, David Miller wrote:
> 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>

Acked-by: Thomas Gleixner <tglx@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/