From: Venki Pallipadi <venkatesh.pallipadi@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>,
Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>,
john stultz <johnstul@us.ibm.com>, Ingo Molnar <mingo@elte.hu>,
Chris Wright <chrisw@sous-sol.org>,
Arjan van de Ven <arjan@infradead.org>,
Steven Rostedt <rostedt@goodmis.org>, Andi Kleen <ak@suse.de>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] x86-64 highres/dyntick support
Date: Mon, 7 May 2007 15:43:33 -0700 [thread overview]
Message-ID: <20070507224333.GA14623@linux-os.sc.intel.com> (raw)
In-Reply-To: <1178485128.31213.98.camel@localhost.localdomain>
Needs this minor fix to build on i386.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Index: linux-2.6.21-tolkml/include/asm-i386/hpet.h
===================================================================
--- linux-2.6.21-tolkml.orig/include/asm-i386/hpet.h 2007-05-07 14:32:37.000000000 -0700
+++ linux-2.6.21-tolkml/include/asm-i386/hpet.h 2007-05-07 14:43:54.000000000 -0700
@@ -71,17 +71,6 @@
#ifdef CONFIG_X86_64
/* hpet_readl/writel defines */
#include <asm/vsyscall.h>
-
-#else
-static inline unsigned long hpet_readl(unsigned long a)
-{
- return readl(hpet_virt_address + a);
-}
-
-static inline void hpet_writel(unsigned long d, unsigned long a)
-{
- writel(d, hpet_virt_address + a);
-}
#endif
#ifdef CONFIG_HPET_EMULATE_RTC
Index: linux-2.6.21-tolkml/arch/i386/kernel/hpet.c
===================================================================
--- linux-2.6.21-tolkml.orig/arch/i386/kernel/hpet.c 2007-05-07 14:31:34.000000000 -0700
+++ linux-2.6.21-tolkml/arch/i386/kernel/hpet.c 2007-05-07 14:43:36.000000000 -0700
@@ -47,6 +47,16 @@
static void __iomem * hpet_virt_address;
+static inline unsigned long hpet_readl(unsigned long a)
+{
+ return readl(hpet_virt_address + a);
+}
+
+static inline void hpet_writel(unsigned long d, unsigned long a)
+{
+ writel(d, hpet_virt_address + a);
+}
+
static inline void hpet_set_mapping(void)
{
hpet_virt_address = ioremap_nocache(hpet_address, HPET_MMAP_SIZE);
next prev parent reply other threads:[~2007-05-07 22:45 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-06 20:58 [PATCH] x86-64 highres/dyntick support Thomas Gleixner
2007-05-07 9:16 ` Nicolas Mailhot
2007-05-07 15:28 ` Thomas Gleixner
2007-05-08 17:08 ` Nicolas Mailhot
2007-05-07 16:31 ` Chris Wright
2007-05-07 16:46 ` Thomas Gleixner
2007-05-07 17:18 ` Chris Wright
2007-05-08 9:39 ` Chris Wright
2007-05-08 9:42 ` [PATCH 1/5] x86_64: tsc compile fix Chris Wright
2007-05-08 9:47 ` Thomas Gleixner
2007-05-08 9:43 ` [PATCH 2/5] x86_64: __setup_APIC_LVTT whitespace fix Chris Wright
2007-05-08 9:48 ` Thomas Gleixner
2007-05-08 9:44 ` [PATCH 3/5] i386: hpet assumes boot cpu is 0 Chris Wright
2007-05-08 9:54 ` Thomas Gleixner
2007-05-08 9:46 ` [PATCH 4/5] i386: i8253 clockevent shutdown and unused using pit Chris Wright
2007-05-08 9:53 ` Thomas Gleixner
2007-05-08 9:47 ` [PATCH 5/5] x86_64: restore restore nohpet cmdline Chris Wright
2007-05-08 9:53 ` Thomas Gleixner
2007-05-08 9:51 ` [PATCH] x86-64 highres/dyntick support Thomas Gleixner
2007-05-08 9:51 ` Chris Wright
2007-05-08 9:58 ` Thomas Gleixner
2007-05-08 10:06 ` Chris Wright
2007-05-08 10:34 ` Thomas Gleixner
2007-05-08 13:15 ` Pallipadi, Venkatesh
2007-05-07 22:43 ` Venki Pallipadi [this message]
2007-05-07 23:15 ` Thomas Gleixner
2007-05-14 1:17 ` Alistair John Strachan
2007-05-14 6:33 ` Thomas Gleixner
2007-05-14 10:26 ` [PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v1 Thomas Gleixner
2007-05-14 20:10 ` Valdis.Kletnieks
2007-05-14 20:23 ` Thomas Gleixner
2007-05-14 21:15 ` Alistair John Strachan
2007-05-14 22:05 ` Thomas Gleixner
2007-05-14 22:42 ` Alistair John Strachan
2007-05-15 8:18 ` [PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v4 Thomas Gleixner
2007-05-15 14:06 ` Frank Sorenson
2007-05-15 21:53 ` Thomas Gleixner
2007-05-15 23:20 ` Frank Sorenson
2007-05-16 5:02 ` Frank Sorenson
2007-05-16 6:20 ` Thomas Gleixner
2007-05-16 9:01 ` Thomas Gleixner
2007-05-15 23:23 ` Alistair John Strachan
2007-05-16 5:54 ` Thomas Gleixner
2007-05-16 10:03 ` [PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v5 Thomas Gleixner
2007-05-16 19:48 ` Frank Sorenson
2007-05-17 4:25 ` Frank Sorenson
2007-05-17 19:12 ` Frank Sorenson
2007-05-17 19:19 ` Christoph Lameter
2007-05-18 3:55 ` Frank Sorenson
2007-05-18 16:58 ` Christoph Lameter
2007-05-18 19:44 ` Christoph Lameter
2007-05-17 22:09 ` [PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v7 Thomas Gleixner
2007-05-21 1:14 ` Valdis.Kletnieks
-- strict thread matches above, loose matches on Subject: below --
2007-05-07 12:07 [PATCH] x86-64 highres/dyntick support Mats Johannesson
2007-05-07 15:13 ` Thomas Gleixner
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=20070507224333.GA14623@linux-os.sc.intel.com \
--to=venkatesh.pallipadi@intel.com \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=chrisw@sous-sol.org \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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.