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

* Re: [PATCH] Powerpc compiler error fix for 2.6.21-rt8
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Pradyumna Sampath @ 2007-05-29  5:36 UTC (permalink / raw)
  To: linuxppc-embedded, linux-rt-users

Oops !

Sorry missed this http://patchwork.ozlabs.org/linuxppc/patch?id=11304 .

regards
prady

On 5/29/07, Pradyumna Sampath <pradyumna.sampath@gmail.com> wrote:
> 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
>
>


-- 
htp://prady.livejournal.com

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

* Re: [PATCH] Powerpc compiler error fix for 2.6.21-rt8
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2007-05-29 14:41 UTC (permalink / raw)
  To: Pradyumna Sampath; +Cc: linux-rt-users, linuxppc-embedded

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

^ 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).