Re: -rt doesn't compile for UML

From: Ingo Molnar
Date: Wed Nov 28 2007 - 08:15:45 EST



* Miklos Szeredi <miklos@xxxxxxxxxx> wrote:

> > so there's no forced need to use -rt.
>
> Ah, forgotten about that.
>
> Unfortunately the latency tracer patch doesn't compile either:
>
> CC kernel/latency_trace.o
> kernel/latency_trace.c:28:21: error: asm/rtc.h: No such file or directory
> kernel/latency_trace.c:63:3: error: #error Implement cycles_to_usecs.
> kernel/latency_trace.c: In function ???____trace???:
> kernel/latency_trace.c:658: error: implicit declaration of function ???irqs_disabled_flags???
> make[1]: *** [kernel/latency_trace.o] Error 1

hm, just fill those functions in - should be fairly trivial and we can
carry those patches in -rt. (I'd suggest to create an empty asm-um/rtc.h
stub as well, for consistency.)

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/