lkml.org 
[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 9 Sep 2005 18:31:38 +0100
From viro@ZenIV ...
SubjectRe: [PATCH] bogus #if (acpi/blacklist)
On Fri, Sep 09, 2005 at 06:55:52PM +0200, Roman Zippel wrote:
> Hi,
> 
> On Fri, 9 Sep 2005 viro@ZenIV.linux.org.uk wrote:
> 
> > Sigh...  It should be left as #if, of course, but I suspect that cleaner way to
> > deal with that would be (in Kconfig)
> > 
> > config ACPI_BLACKLIST_YEAR
> >         int "Disable ACPI for systems before Jan 1st this year" if X86
> >         default 0
> 
> That would be indeed the better fix.
> 
> bye, Roman

There we go, then (replacement for original variant, _not_ an incremental):

diff -urN RC13-git8-base/drivers/acpi/Kconfig current/drivers/acpi/Kconfig
--- RC13-git8-base/drivers/acpi/Kconfig	2005-09-08 23:42:49.000000000 -0400
+++ current/drivers/acpi/Kconfig	2005-09-09 12:41:37.000000000 -0400
@@ -250,8 +250,7 @@
 	  Enter the full path name to the file wich includes the AmlCode declaration.
 
 config ACPI_BLACKLIST_YEAR
-	int "Disable ACPI for systems before Jan 1st this year"
-	depends on X86
+	int "Disable ACPI for systems before Jan 1st this year" if X86
 	default 0
 	help
 	  enter a 4-digit year, eg. 2001 to disable ACPI by default
-
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/
\
 
 \ /
  Last update: 2005-09-09 17:34    [from the cache]
©2003-2008