mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: john stultz <johnstul@us.ibm.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, Darren Hart <dvhltc@us.ibm.com>,
	Nishanth Aravamudan <nacc@us.ibm.com>,
	Frank Sorenson <frank@tuxrocks.com>,
	George Anzinger <george@mvista.com>,
	Roman Zippel <zippel@linux-m68k.org>,
	Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: [RFC][PATCH 8/12] generic timeofday i386 arch specific changes, part 4
Date: Tue, 01 Nov 2005 14:32:14 -0800	[thread overview]
Message-ID: <1130884334.27168.473.camel@cog.beaverton.ibm.com> (raw)
In-Reply-To: <1130884288.27168.472.camel@cog.beaverton.ibm.com>

All,
	The conversion of i386 to use the generic timeofday subsystem has been
split into 6 parts. This patch, the fourth of six, renames some ACPI PM
variables. 

It applies on top of my timeofday-arch-i386-part3 patch. This patch is
part the timeofday-arch-i386 patchset, so without the following parts it
is not expected to compile.
	
thanks
-john

 boot.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

linux-2.6.14-rc5-mm1_timeofday-arch-i386-part4_B9.patch
============================================
diff -ruN linux-2.6-mmtod/arch/i386/kernel/acpi/boot.c mm-fixups/arch/i386/kernel/acpi/boot.c
--- linux-2.6-mmtod/arch/i386/kernel/acpi/boot.c	2005-10-31 17:22:37.000000000 -0800
+++ mm-fixups/arch/i386/kernel/acpi/boot.c	2005-10-31 18:02:44.000000000 -0800
@@ -615,7 +615,8 @@
 #endif
 
 #ifdef CONFIG_X86_PM_TIMER
-extern u32 pmtmr_ioport;
+u32 acpi_pmtmr_ioport;
+int acpi_pmtmr_buggy;
 #endif
 
 static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
@@ -643,21 +644,21 @@
 		    ACPI_ADR_SPACE_SYSTEM_IO)
 			return 0;
 
-		pmtmr_ioport = fadt->xpm_tmr_blk.address;
+		acpi_pmtmr_ioport = fadt->xpm_tmr_blk.address;
 		/*
 		 * "X" fields are optional extensions to the original V1.0
 		 * fields, so we must selectively expand V1.0 fields if the
 		 * corresponding X field is zero.
 	 	 */
-		if (!pmtmr_ioport)
-			pmtmr_ioport = fadt->V1_pm_tmr_blk;
+		if (!acpi_pmtmr_ioport)
+			acpi_pmtmr_ioport = fadt->V1_pm_tmr_blk;
 	} else {
 		/* FADT rev. 1 */
-		pmtmr_ioport = fadt->V1_pm_tmr_blk;
+		acpi_pmtmr_ioport = fadt->V1_pm_tmr_blk;
 	}
-	if (pmtmr_ioport)
+	if (acpi_pmtmr_ioport)
 		printk(KERN_INFO PREFIX "PM-Timer IO Port: %#x\n",
-		       pmtmr_ioport);
+		       acpi_pmtmr_ioport);
 #endif
 	return 0;
 }



  reply	other threads:[~2005-11-01 22:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01 22:23 [RFC][PATCH 0/12] Generic Timeofday Subsystem (v B9) john stultz
2005-11-01 22:24 ` [RFC][PATCH 1/12] Reduced NTP rework (part 1) john stultz
2005-11-01 22:25   ` [RFC][PATCH 2/12] Reduced NTP rework (part 2) john stultz
2005-11-01 22:26     ` [RFC][PATCH 3/12] clocksource management code john stultz
2005-11-01 22:27       ` [RFC][PATCH 4/12] generic timeofday core subsystem john stultz
2005-11-01 22:29         ` [RFC][PATCH 5/12] generic timeofday i386 arch specific changes, part 1 john stultz
2005-11-01 22:30           ` [RFC][PATCH 6/12] generic timeofday i386 arch specific changes, part 2 john stultz
2005-11-01 22:31             ` [RFC][PATCH 7/12] generic timeofday i386 arch specific changes, part 3 john stultz
2005-11-01 22:32               ` john stultz [this message]
2005-11-01 22:33                 ` [RFC][PATCH 9/12] generic timeofday i386 arch specific changes, part 5 john stultz
2005-11-01 22:35                   ` [RFC][PATCH 10/12] generic timeofday i386 arch specific changes, part 6 john stultz
2005-11-01 22:36                     ` [RFC][PATCH 11/12] generic timeofday x86-64 arch specific changes john stultz
2005-11-01 22:38                       ` [RFC][PATCH 12/12] generic timeofday i386/x86-64 specific clocksources john stultz
2005-11-01 22:48   ` [RFC][PATCH 1/12] Reduced NTP rework (part 1) john stultz
  -- strict thread matches above, loose matches on Subject: below --
2005-10-14  1:59 [RFC][PATCH 0/12] Generic Timeofday Subsystem (v B7) (cumulative-i386) john stultz
2005-10-14  2:09 ` [RFC][PATCH 1/12] Reduced NTP rework (part 1) john stultz
2005-10-14  2:10   ` [RFC][PATCH 2/12] Reduced NTP rework (part 2) john stultz
2005-10-14  2:11     ` [RFC][PATCH 3/12] clocksource management code john stultz
2005-10-14  2:12       ` [RFC][PATCH 4/12] generic timeofday core subsystem john stultz
2005-10-14  2:14         ` [RFC][PATCH 5/12] generic timeofday i386 arch specific changes, part 1 john stultz
2005-10-14  2:15           ` [RFC][PATCH 6/12] generic timeofday i386 arch specific changes, part 2 john stultz
2005-10-14  2:16             ` [RFC][PATCH 7/12] generic timeofday i386 arch specific changes, part 3 john stultz
2005-10-14  2:19               ` [RFC][PATCH 8/12] generic timeofday i386 arch specific changes, part 4 john stultz

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=1130884334.27168.473.camel@cog.beaverton.ibm.com \
    --to=johnstul@us.ibm.com \
    --cc=dvhltc@us.ibm.com \
    --cc=frank@tuxrocks.com \
    --cc=george@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=nacc@us.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=ulrich.windl@rz.uni-regensburg.de \
    --cc=zippel@linux-m68k.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

all inboxes | Powered by JetHome®