public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: viro@ZenIV.linux.org.uk
To: Roman Zippel <zippel@linux-m68k.org>
Cc: Eric Piel <Eric.Piel@lifl.fr>, Linus Torvalds <torvalds@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bogus #if (acpi/blacklist)
Date: Fri, 9 Sep 2005 18:31:38 +0100	[thread overview]
Message-ID: <20050909173138.GR9623@ZenIV.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.61.0509091854500.3743@scrub.home>

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

  reply	other threads:[~2005-09-09 17:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-09 16:07 [PATCH] bogus #if (acpi/blacklist) viro
2005-09-09 16:19 ` Eric Piel
2005-09-09 16:43   ` viro
2005-09-09 16:55     ` Roman Zippel
2005-09-09 17:31       ` viro [this message]
2005-09-15 22:05       ` Len Brown
2005-09-22  5:14         ` Randy.Dunlap
2005-09-22  5:15           ` Al Viro
  -- strict thread matches above, loose matches on Subject: below --
2005-09-22  5:50 Brown, Len

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050909173138.GR9623@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=Eric.Piel@lifl.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox