[PATCH] Powerpc compiler error fix for 2.6.21-rt8
Sergei Shtylyov
sshtylyov at ru.mvista.com
Wed May 30 00:41:02 EST 2007
Hello.
Pradyumna Sampath wrote:
> Attached is a small patch to fix compile time errors which is broken
> in 2.6.21-rt8 for powerpc.
NAK. It's been deleted on purpose (not used anymore), and I've already
sent a patch to kill the leftover reference.
> ------------------------------------------------------------------------
>
> diff -ur latest/linux-2.6.21/arch/powerpc/kernel/time.c linux-2.6.21/arch/powerpc/kernel/time.c
> --- latest/linux-2.6.21/arch/powerpc/kernel/time.c 2007-05-29 09:58:12.000000000 +0530
> +++ linux-2.6.21/arch/powerpc/kernel/time.c 2007-05-29 08:58:56.000000000 +0530
> @@ -95,6 +95,8 @@
> #define SCALE_XSEC(xsec, max) mulhwu((xsec) << 12, max)
> #endif
>
> +unsigned long cpu_khz; /* Detected as we calibrate the TSC */
> +EXPORT_SYMBOL(cpu_khz);
> unsigned long tb_ticks_per_jiffy;
> unsigned long tb_ticks_per_usec = 100; /* sane default */
> EXPORT_SYMBOL(tb_ticks_per_usec);
> Only in linux-2.6.21/arch/powerpc/kernel: vmlinux.lds
> Only in linux-2.6.21/scripts/kconfig: mconf
Please cut off such garbage from yoour patches...
WBR, Sergei
More information about the Linuxppc-embedded
mailing list