All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>, adeos-main <adeos-main@gna.org>
Subject: [Adeos-main] [PATCH 2.6.38] ipipe: x86_64: Fix build regression of 747fa81bca
Date: Tue, 13 Mar 2012 20:05:46 +0100	[thread overview]
Message-ID: <4F5F9A8A.4050308@domain.hid> (raw)

Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
 arch/x86/include/asm/ipipe_64.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/include/asm/ipipe_64.h b/arch/x86/include/asm/ipipe_64.h
index c99830b..0fb92b4 100644
--- a/arch/x86/include/asm/ipipe_64.h
+++ b/arch/x86/include/asm/ipipe_64.h
@@ -45,8 +45,8 @@ extern int __ipipe_hrtimer_irq;
 #define __ipipe_hrtimer_freq	__ipipe_cpu_freq
 #define __ipipe_hrclock_freq	__ipipe_cpu_freq
 
-#define ipipe_tsc2ns(t)	(((t) * 1000UL) / (__ipipe_clock_freq / 1000000UL))
-#define ipipe_tsc2us(t)	((t) / (__ipipe_clock_freq / 1000000UL))
+#define ipipe_tsc2ns(t)	(((t) * 1000UL) / (__ipipe_cpu_freq / 1000000UL))
+#define ipipe_tsc2us(t)	((t) / (__ipipe_cpu_freq / 1000000UL))
 
 /* Private interface -- Internal use only */
 
-- 
1.7.3.4


             reply	other threads:[~2012-03-13 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 19:05 Jan Kiszka [this message]
2012-03-13 19:58 ` [Adeos-main] [PATCH 2.6.38] ipipe: x86_64: Fix build regression of 747fa81bca Philippe Gerum

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=4F5F9A8A.4050308@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=rpm@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.