Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753376AbYLAWOs (ORCPT ); Mon, 1 Dec 2008 17:14:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751528AbYLAWOk (ORCPT ); Mon, 1 Dec 2008 17:14:40 -0500 Received: from rtr.ca ([76.10.145.34]:54325 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbYLAWOj (ORCPT ); Mon, 1 Dec 2008 17:14:39 -0500 Message-ID: <49346212.3050102@rtr.ca> Date: Mon, 01 Dec 2008 17:15:46 -0500 From: Mark Lord Organization: Real-Time Remedies Inc. User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Len Brown Cc: Alessandro Zummo , David Brownell , lkml , rtc-linux@googlegroups.com, linux-acpi@vger.kernel.org Subject: Re: PATCH: /proc/acpi/alarm: handle day-of-month wraparound on readback References: <200806222042.13929.david-b@pacbell.net> <4934176F.6080900@rtr.ca> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1194 Lines: 36 Len Brown wrote: > I don't have a /proc/acpi/alarm due to this: > > #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || > !defined(CONFIG_X86) > /* use /sys/class/rtc/rtcX/wakealarm instead; it's not ACPI-specific */ > #else > #define HAVE_ACPI_LEGACY_ALARM > #endif .. Yeah.. bit of a nuisance that. I regularly apply this patch to my own kernels: --- old/drivers/acpi/sleep/proc.c 2008-01-06 16:39:45.000000000 -0500 +++ linux/drivers/acpi/sleep/proc.c 2008-01-06 17:35:35.000000000 -0500 @@ -78,11 +78,11 @@ } #endif /* CONFIG_ACPI_PROCFS */ -#if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || !defined(CONFIG_X86) +//#if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || !defined(CONFIG_X86) /* use /sys/class/rtc/rtcX/wakealarm instead; it's not ACPI-specific */ -#else +//#else #define HAVE_ACPI_LEGACY_ALARM -#endif +//#endif #ifdef HAVE_ACPI_LEGACY_ALARM -- 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/