login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
9
Re: [PATCH] [3/3] Enable ACPI extended century handling for 32bit too
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Thomas Gleixner <tglx@...>
To: Andi Kleen <ak@...>
Cc: <mingo@...>, <linux-kernel@...>
Subject:
Re: [PATCH] [3/3] Enable ACPI extended century handling for 32bit too
Date: Saturday, February 9, 2008 - 6:39 am
On Fri, 8 Feb 2008, Andi Kleen wrote:
quoted text
> > Not that it matters much, see comment in the code. > > Signed-off-by: Andi Kleen <ak@suse.de> > > --- > arch/x86/kernel/rtc.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > Index: linux/arch/x86/kernel/rtc.c > =================================================================== > --- linux.orig/arch/x86/kernel/rtc.c > +++ linux/arch/x86/kernel/rtc.c > @@ -112,12 +112,13 @@ unsigned long mach_get_cmos_time(void) > mon = CMOS_READ(RTC_MONTH); > year = CMOS_READ(RTC_YEAR); > > -#if defined(CONFIG_ACPI) && defined(CONFIG_X86_64) > - /* CHECKME: Is this really 64bit only ??? */ > + /* > + * On 32bit not strictly needed because the world ends in 2038 > + * and the code can handle that with the 2 digit heuristics. > + */ > if (acpi_gbl_FADT.header.revision >= FADT2_REVISION_ID && > acpi_gbl_FADT.century) > century = CMOS_READ(acpi_gbl_FADT.century);
How does this compile with CONFIG_ACPI=n ? Thanks, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [1/3] Only do century BCD conversion when we know th...
, Andi Kleen
, (Fri Feb 8, 8:14 am)
Re: [PATCH] [1/3] Only do century BCD conversion when we kno...
, Thomas Gleixner
, (Sat Feb 9, 6:28 am)
Re: [PATCH] [1/3] Only do century BCD conversion when we kno...
, Andi Kleen
, (Sat Feb 9, 10:55 am)
[PATCH] [3/3] Enable ACPI extended century handling for 32bi...
, Andi Kleen
, (Fri Feb 8, 8:14 am)
Re: [PATCH] [3/3] Enable ACPI extended century handling for ...
, Thomas Gleixner
, (Sat Feb 9, 6:39 am)
[PATCH] [2/3] Use 2000 offset for 32bit kernels
, Andi Kleen
, (Fri Feb 8, 8:14 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Justin C. Sherrill
Re: pkgsrc bulk build and tiff
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
netbsd-tech-kern
:
Matt Thomas
Re: Add a MAP_ALIGNED flag for mmap(2).
Vsevolod Stakhov
Unicode support in iso9660.
Jaromir Dolecek
Re: Speeding up fork/wait path
matthew green
re: merge of freebsd eventhandler
git
:
dragonflybsd-user
:
Petr Janda
KDE and OpenSSL = Broken
sam
Re: Loader not found
Erick Perez
Re: dragonfly pdf documentation
Michel Talon
Re: Compatability with FreeBSD Ports [debian package tools]
Colocation donated by:
Who's online
There are currently
1 user
and
865 guests
online.
Online users
donkey99
Syndicate