Re: [RFC] Introduce __ARCH_WANT_SYS_SYSFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 23, 2008 at 11:50 AM, Will Newton <will.newton@xxxxxxxxx> wrote:
> On Wed, Apr 23, 2008 at 4:40 PM, Kyle McMartin <kyle@xxxxxxxxxxx> wrote:
>  > On Wed, Apr 23, 2008 at 03:36:23PM +0100, Will Newton wrote:
>  >  > +config ARCH_HAS_SYS_SYSFS
>  >  > +     bool
>  >  > +     default y
>  >  > +
>  >  >  source "init/Kconfig"
>  >  >
>  >
>  >  Sorry, I meant something more like
>  >
>  >
>  >  config ARCH_HAS_SYS_SYSFS
>  >         def_bool !BLACKFIN
>  >         help
>  >           Obsolete sys_sysfs syscall
>  >
>  >  in init/Kconfig
>  >
>  >  But, it's your patch, you can do it however you like. :)
>
>  That's definitely shorter - but it feels a bit more like #ifdef
>  CONFIG_BLACKFIN which is explicitly what I don't want to do, because
>  I'm not actually interested in blackfin. ;-)

i'd have to agree that updating asm/unistd.h fits better with existing
paradigm.  if we want to talk about converting *all cases* to Kconfig,
we can do it in a separate thread.  splitting the design between two
different files is simply confusing to everyone involved as they spend
their time going "well which way am *i* supposed to do it".
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux