linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Powerpc compiler error fix for 2.6.21-rt8
@ 2007-05-29  4:24 Pradyumna Sampath
  2007-05-29  5:36 ` Pradyumna Sampath
  2007-05-29 14:41 ` Sergei Shtylyov
  0 siblings, 2 replies; 3+ messages in thread
From: Pradyumna Sampath @ 2007-05-29  4:24 UTC (permalink / raw)
  To: linuxppc-embedded, linux-rt-users

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

Hi everyone,

Attached is a small patch to fix compile time errors which is broken
in 2.6.21-rt8 for powerpc.

thanks
regards
prady

[-- Attachment #2: 2_6_21_rt8_powerpc_rt_compile_fix.diff --]
[-- Type: text/x-patch, Size: 664 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-29 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29  4:24 [PATCH] Powerpc compiler error fix for 2.6.21-rt8 Pradyumna Sampath
2007-05-29  5:36 ` Pradyumna Sampath
2007-05-29 14:41 ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).