linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Pradyumna Sampath" <pradyumna.sampath@gmail.com>
To: linuxppc-embedded@ozlabs.org, linux-rt-users@vger.kernel.org
Subject: [PATCH] Powerpc compiler error fix for 2.6.21-rt8
Date: Tue, 29 May 2007 09:54:49 +0530	[thread overview]
Message-ID: <f87351060705282124q6d6b1562ic1dd4da4b8a62886@mail.gmail.com> (raw)

[-- 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

             reply	other threads:[~2007-05-29  4:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29  4:24 Pradyumna Sampath [this message]
2007-05-29  5:36 ` [PATCH] Powerpc compiler error fix for 2.6.21-rt8 Pradyumna Sampath
2007-05-29 14:41 ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f87351060705282124q6d6b1562ic1dd4da4b8a62886@mail.gmail.com \
    --to=pradyumna.sampath@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).