Re: [PATCH 4/3 v7] SGI RTC: fix uv_time for UP

From: Ingo Molnar
Date: Thu Mar 05 2009 - 05:27:18 EST



* Dimitri Sivanich <sivanich@xxxxxxx> wrote:

> Fix non-smp build of uv_time.c.
>
> Signed-off-by: Dimitri Sivanich <sivanich@xxxxxxx>
>
> ---
>
> This time against tip/x86/uv
>
> arch/x86/kernel/uv_time.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> Index: linux-2.6.tip-uv/arch/x86/kernel/uv_time.c
> ===================================================================
> --- linux-2.6.tip-uv.orig/arch/x86/kernel/uv_time.c 2009-03-04 15:52:10.000000000 -0600
> +++ linux-2.6.tip-uv/arch/x86/kernel/uv_time.c 2009-03-04 15:58:48.000000000 -0600
> @@ -20,6 +20,9 @@
> */
> #include <linux/clockchips.h>
>
> +#include <asm/apic.h>
> +#include <asm/cpu.h>
> +
> #include <asm/uv/uv_mmrs.h>
> #include <asm/uv/uv_hub.h>
> #include <asm/uv/bios.h>

Btw: trivia: have you ever thought about why the include files
sections looks like that and why i modified your original patch?
Have a look at arch/x86/mm/fault.c.

Anyway, i fixed up your patch.

Ingo
--
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/