Thread (3 messages) 3 messages, 2 authors, 2007-05-29

Re: [PATCH] Powerpc compiler error fix for 2.6.21-rt8

From: Sergei Shtylyov <hidden>
Date: 2007-05-29 14:39:30
Also in: linux-rt-users

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.
quoted hunk ↗ jump to hunk
------------------------------------------------------------------------

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help