Kconfig entry defined multiple times

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

 



Hello,

I am working on kernel 2.6.32.38, and I see :

~~~~~~~~~~~~~~~~~~~~~~~~~~

arch/x86/Kconfig, 202 :
=============

config USE_GENERIC_SMP_HELPERS
    def_bool y
    depends on SMP

~~~~~~~~~~~~~~~~~~~~~~~~~~

arch/Kconfig, 112 :
===========

config USE_GENERIC_SMP_HELPERS
    bool

~~~~~~~~~~~~~~~~~~~~~~~~~~

Although we have this in Kconfig documentation,
================================================
A config option can be defined multiple times with the same name, but every
definition can have only a single input prompt and the type must not conflict.
================================================

here,
- the first definition is a child of "Linux Kernel Configuration for x86" MainMenu ( arch/x86/Kconfig, 1 ) - the second definition is a child of "General setup" Menu ( init/Kconfig, 24 )

So the hierarchy is different ; Can someone give explanations on this ?

Thx
--
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Audio]     [Linux Console]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Fedora Users]

  Powered by Linux