+ make-pmtmr_ioport-__read_mostly.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     make pmtmr_ioport __read_mostly

has been added to the -mm tree.  Its filename is

     make-pmtmr_ioport-__read_mostly.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Andreas Mohr <andi@xxxxxxxxxxxxxxxxxxxxxxx>

- written on init only, accessed for every timer read --> __read_mostly
- fix broken sentence

Signed-off-by: Andreas Mohr <andi@xxxxxxxx>
Cc: john stultz <johnstul@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/x86_64/kernel/pmtimer.c  |    2 +-
 drivers/clocksource/acpi_pm.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -puN arch/x86_64/kernel/pmtimer.c~make-pmtmr_ioport-__read_mostly arch/x86_64/kernel/pmtimer.c
--- devel/arch/x86_64/kernel/pmtimer.c~make-pmtmr_ioport-__read_mostly	2006-04-18 23:15:44.000000000 -0700
+++ devel-akpm/arch/x86_64/kernel/pmtimer.c	2006-04-18 23:15:44.000000000 -0700
@@ -27,7 +27,7 @@
 /* The I/O port the PMTMR resides at.
  * The location is detected during setup_arch(),
  * in arch/i386/kernel/acpi/boot.c */
-u32 pmtmr_ioport;
+u32 pmtmr_ioport __read_mostly;
 
 /* value of the Power timer at last timer interrupt */
 static u32 offset_delay;
diff -puN drivers/clocksource/acpi_pm.c~make-pmtmr_ioport-__read_mostly drivers/clocksource/acpi_pm.c
--- devel/drivers/clocksource/acpi_pm.c~make-pmtmr_ioport-__read_mostly	2006-04-18 23:15:44.000000000 -0700
+++ devel-akpm/drivers/clocksource/acpi_pm.c	2006-04-18 23:15:44.000000000 -0700
@@ -30,7 +30,7 @@
  * The location is detected during setup_arch(),
  * in arch/i386/acpi/boot.c
  */
-u32 pmtmr_ioport;
+u32 pmtmr_ioport __read_mostly;
 
 #define ACPI_PM_MASK 0xFFFFFF /* limit it to 24 bits */
 
@@ -47,7 +47,7 @@ static cycle_t acpi_pm_read_verified(voi
 	/*
 	 * It has been reported that because of various broken
 	 * chipsets (ICH4, PIIX4 and PIIX4E) where the ACPI PM clock
-	 * source is not latched, so you must read it multiple
+	 * source is not latched, you must read it multiple
 	 * times to ensure a safe value is read:
 	 */
 	do {
_

Patches currently in -mm which might be from andi@xxxxxxxxxxxxxxxxxxxxxxx are

acx1xx-wireless-driver.patch
i386-apmc-optimization.patch
make-pmtmr_ioport-__read_mostly.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux