lkml.org 
[lkml]   [2009]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 3/3] fix typo "ACPI_PM_OVRRUN" -> "ACPI_PM_OVERRUN"
This patch fixes typo.

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>

---
arch/x86/kernel/apic.c | 2 +-
arch/x86/kernel/tsc.c | 2 +-
include/linux/acpi_pmtmr.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.29-rc2/arch/x86/kernel/apic.c
===================================================================
--- linux-2.6.29-rc2.orig/arch/x86/kernel/apic.c 2009-01-27 12:24:04.000000000 +0900
+++ linux-2.6.29-rc2/arch/x86/kernel/apic.c 2009-01-27 12:24:18.000000000 +0900
@@ -528,7 +528,7 @@ static void __init lapic_cal_handler(str
lapic_cal_t2 = tapic;
lapic_cal_tsc2 = tsc;
if (pm < lapic_cal_pm1)
- pm += ACPI_PM_OVRRUN;
+ pm += ACPI_PM_OVERRUN;
lapic_cal_pm2 = pm;
lapic_cal_j2 = jiffies;
break;
Index: linux-2.6.29-rc2/arch/x86/kernel/tsc.c
===================================================================
--- linux-2.6.29-rc2.orig/arch/x86/kernel/tsc.c 2009-01-27 12:21:20.000000000 +0900
+++ linux-2.6.29-rc2/arch/x86/kernel/tsc.c 2009-01-27 12:24:18.000000000 +0900
@@ -161,7 +161,7 @@ static unsigned long calc_pmtimer_ref(u6
return ULONG_MAX;

if (pm2 < pm1)
- pm2 += (u64)ACPI_PM_OVRRUN;
+ pm2 += (u64)ACPI_PM_OVERRUN;
pm2 -= pm1;
tmp = pm2 * 1000000000LL;
do_div(tmp, PMTMR_TICKS_PER_SEC);
Index: linux-2.6.29-rc2/include/linux/acpi_pmtmr.h
===================================================================
--- linux-2.6.29-rc2.orig/include/linux/acpi_pmtmr.h 2009-01-27 12:21:20.000000000 +0900
+++ linux-2.6.29-rc2/include/linux/acpi_pmtmr.h 2009-01-27 12:24:18.000000000 +0900
@@ -10,7 +10,7 @@
#define ACPI_PM_MASK CLOCKSOURCE_MASK(24)

/* Overrun value */
-#define ACPI_PM_OVRRUN (1<<24)
+#define ACPI_PM_OVERRUN (1<<24)

#ifdef CONFIG_X86_PM_TIMER


\
 
 \ /
  Last update: 2009-01-27 09:35    [W:0.277 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site