Re: [PATCH] limit some config options per arch.

From: Randy.Dunlap
Date: Mon Aug 25 2003 - 13:44:07 EST


On 25 Aug 2003 20:35:36 +0200 Andi Kleen <ak@xxxxxxx> wrote:

| "Randy.Dunlap" <rddunlap@xxxxxxxx> writes:
|
|
| > diff -Naur ./drivers/char/Kconfig~itcfg ./drivers/char/Kconfig
| > --- ./drivers/char/Kconfig~itcfg Fri Aug 22 16:51:02 2003
| > +++ ./drivers/char/Kconfig Mon Aug 25 10:48:21 2003
| > @@ -744,6 +744,7 @@
| >
| > config NVRAM
| > tristate "/dev/nvram support"
| > + depends on !IA64
|
| depends on X86 would be probably better.
| (if some other archs use it too they can add themselves)

OK, I'll change it.

| > ---help---
| > If you say Y here and create a character special file /dev/nvram
| > with major number 10 and minor number 144 using mknod ("man mknod"),
| > @@ -1000,6 +1001,7 @@
| >
| > config HANGCHECK_TIMER
| > tristate "Hangcheck timer"
| > + depends on X86
|
| AFAIK that's not x86 specific. It should work on other architecture too.

from willy@xxxxxxxxxx:
This looks x86-specific to me,
monotonic_clock() is in arch/i386 and arch/x86_64 only.

| > say Y. Information about this driver, especially important for IBM
| > diff -Naur ./drivers/pnp/Kconfig~itcfg ./drivers/pnp/Kconfig
| > --- ./drivers/pnp/Kconfig~itcfg Fri Aug 22 16:56:13 2003
| > +++ ./drivers/pnp/Kconfig Mon Aug 25 11:15:37 2003
| > @@ -2,6 +2,8 @@
| > # Plug and Play configuration
| > #
| >
| > +if X86 && !X86_64
|
| This should be if ISA && X86 && !X86_64

OK (after lunch...).

--
~Randy [mantra: Always include kernel version.]
"Everything is relative."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/