[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080507143115.ed738026.akpm@linux-foundation.org>
Date: Wed, 7 May 2008 14:31:15 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: "Carlos R. Mafra" <crmafra2@...il.com>
Cc: mingo@...e.hu, linux-kernel@...r.kernel.org
Subject: Re: rtc-cmos.c: Build fix
On Tue, 6 May 2008 15:51:25 -0300
"Carlos R. Mafra" <crmafra2@...il.com> wrote:
> Subject: [PATCH] rtc-cmos.c: Build fix
>
> The function hpet_rtc_interrupt(..) is to be used only if CONFIG_HPET_EMULATE_RTC
> is defined (see arch/x86/kernel/hpet.c), so we define it to return 0 when
> !CONFIG_HPET_EMULATE_RTC to avoid build failures.
>
> This function will never be used anyways when !CONFIG_HPET_EMULATE_RTC because
> it is inside a if(is_hpet_enabled()) which is never true when
> !CONFIG_HPET_EMULATE_RTC.
I've lost the plot on this one. Could we please have a description of
the problem which is being fixed? ie, the compiler (or linker?) output,
and a description of why it is occurring?
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists