1. 26 7月, 2012 3 次提交
    • S
      kconfig: Document oldnoconfig to what it really does · 67d34a6a
      Steven Rostedt 提交于
      The make target 'oldnoconfig' is a misnomer. It doesn't set new symbols
      to 'n', but instead sets it to their default values.
      
      Unfortunately, assuming that it actually did this, broke ktest in some
      of its tests. For example, the tests to create a minimum config and even
      a config bisect, depends on removing various configs and using
      oldnoconfig to get rid of other configs that may have depended on it.
      
      But because some configs that it was trying to disable, were in fact
      default enabled, this caused those configs to re-enable and corrupt the
      test.
      
      I thought about fixing oldnoconfig, but I'm afraid that people are
      already dependent on its current behavior. Instead, I'm just updating
      the documentation to state that it sets the new symbols to their default
      values and not to 'n'.
      
      Ideally, this would be called, 'olddefconfig' and we have an
      'oldnoconfig' that actually disables the new symbols. But it's useless
      for me now. If it changed, ktest would need to be consistent between
      each version, and that would be to difficult to detect. I'll handle this
      issue with ktest with other means.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      67d34a6a
    • B
      nconf: add u, d command keys in scroll windows · d68e818b
      Benjamin Poirier 提交于
      They function just like they do in less(1).
      Also correct some discrepancy between the help text and the code wrt
      function keys.
      Signed-off-by: NBenjamin Poirier <bpoirier@suse.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      d68e818b
    • B
      menuconfig: add u, d, q command keys in text boxes · 9d4792c9
      Benjamin Poirier 提交于
      They function just like they do in less(1).
      Signed-off-by: NBenjamin Poirier <bpoirier@suse.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      9d4792c9
  2. 14 7月, 2012 2 次提交
  3. 13 7月, 2012 3 次提交
  4. 05 7月, 2012 3 次提交
  5. 18 5月, 2012 1 次提交
    • P
      MCA: delete all remaining traces of microchannel bus support. · bb8187d3
      Paul Gortmaker 提交于
      Hardware with MCA bus is limited to 386 and 486 class machines
      that are now 20+ years old and typically with less than 32MB
      of memory.  A quick search on the internet, and you see that
      even the MCA hobbyist/enthusiast community has lost interest
      in the early 2000 era and never really even moved ahead from
      the 2.4 kernels to the 2.6 series.
      
      This deletes anything remaining related to CONFIG_MCA from core
      kernel code and from the x86 architecture.  There is no point in
      carrying this any further into the future.
      
      One complication to watch for is inadvertently scooping up
      stuff relating to machine check, since there is overlap in
      the TLA name space (e.g. arch/x86/boot/mca.c).
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: James Bottomley <JBottomley@Parallels.com>
      Cc: x86@kernel.org
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      bb8187d3
  6. 08 5月, 2012 1 次提交
    • E
      kbuild: all{no,yes,mod,def,rand}config only read files when instructed to. · 9f420bf0
      Eric W. Biederman 提交于
      Prevent subtle surprises to both people working on the kconfig code
      and people using make allnoconfig allyesconfig allmoconfig and
      randconfig by only attempting to read a config file if
      KCONFIG_ALLCONFIG is set.
      
      Common sense suggests attempting to read the extra config files does
      not make sense unless requested.  The documentation says the code
      won't attempt to read the extra config files unless requested.
      Current usage does not appear to include people depending on the code
      reading the config files without the variable being set So do the
      simple thing and stop reading config files when passed
      all{no,yes,mod,def,rand}config unless KCONFIG_ALLCONFIG environment
      variable is set.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      9f420bf0
  7. 05 5月, 2012 1 次提交
    • E
      kconfig: Add error handling to KCONFIG_ALLCONFIG · 5efe241e
      Eric W. Biederman 提交于
      - Only try to read the file specified if KCONFIG_ALL_CONFIG is set to
        something other than the empty string or "1".
      
      - Don't use stat to check the name passed to conf_read_simple so that
        zconf_fopen can find the file in the current directory or in SRCTREE
        removing a extremely source of confusing failure, where KCONFIG_ALL_CONFIG
        was not interpreted with respect to the directory make was called in.
      
      - If conf_read_simple fails complain clearly and stop processing.
        Allowing the simple debugging of typos.
      
      - Clearly document the behavior so it is clear to users which
        values are treated as flags and which values are treated as
        filenames.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      5efe241e
  8. 13 4月, 2012 2 次提交
  9. 30 3月, 2012 2 次提交
  10. 25 3月, 2012 1 次提交
  11. 26 1月, 2012 1 次提交
    • A
      kconfig: fix new choices being skipped upon config update · 5d09598d
      Arnaud Lacombe 提交于
      Running `oldconfig' after any of the following configuration change:
      
      either trivial addition, such as:
      
      config A
      	bool "A"
      
      choice
      	prompt "Choice ?"
      	depends on A
      
      	config CHOICE_B
      		bool "Choice B"
      
      	config CHOICE_C
      		bool "Choice C"
      endchoice
      
      or more tricky change:
      
      OLD KCONFIG                      |  NEW KCONFIG
                                       |
                                       |  config A
                                       |          bool "A"
                                       |
      choice                           |  choice
              prompt "Choice ?"        |          prompt "Choice ?"
                                       |
              config CHOICE_C          |          config CHOICE_C
                      bool "Choice C"  |                  bool "Choice C"
                                       |
              config CHOICE_D          |          config CHOICE_D
                      bool "Choice D"  |                  bool "Choice D"
      endchoice                        |
                                       |          config CHOICE_E
                                       |                  bool "Choice E"
                                       |                  depends on A
                                       |  endchoice
      
      will not cause the choice to be considered as NEW, and thus not be
      asked. The cause of this behavior is that choice's novelty are computed
      statically right after the saved configuration has been read. At this
      point, the new dependency's value is still unknown and asserted to be
      `no'. Moreover, no update to this decision is made afterward.
      
      Correct this by dynamically evaluating a choice's novelty, and removing the
      static evaluation.
      Reported-and-tested-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NArnaud Lacombe <lacombar@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      5d09598d
  12. 16 1月, 2012 1 次提交
  13. 15 1月, 2012 7 次提交
  14. 14 1月, 2012 2 次提交
  15. 19 12月, 2011 2 次提交
    • P
      kconfig: adapt update-po-config to new UML layout · fa0ad657
      Paul Bolle 提交于
      Commit 5c48b108 ("um: take arch/um/sys-x86 to arch/x86/um") broke the
      make target update-po-config, as its symlink trick (again) fails.
      (Previous breakage was fixed with commit bdc69ca4 ("kconfig: change
      update-po-config to reflect new layout of arch/um").)
      
      The new UML layout allows to drop the symlick trick entirely. And if,
      one day, another architecture supports UML too, that should now work
      without again breaking this make target.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      fa0ad657
    • P
      kconfig: use xfwrite wrapper function to silence warnings · 70cc01e7
      Peter Foley 提交于
      Use the xfwrite wrapper function defined in lkc.h to check the return value of
      fwrite and silence these warnings.
      
        HOSTCC  scripts/kconfig/zconf.tab.o
      scripts/kconfig/zconf.tab.c: In function 'header_print_comment':
      /usr/src/lto/scripts/kconfig/confdata.c:551:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
      scripts/kconfig/zconf.tab.c: In function 'kconfig_print_comment':
      /usr/src/lto/scripts/kconfig/confdata.c:467:10: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
      Signed-off-by: NPeter Foley <pefoley2@verizon.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      70cc01e7
  16. 12 12月, 2011 2 次提交
    • P
      kconfig: fix set but not used warnings · 4f0c28f7
      Peter Foley 提交于
      Remove set but not used variables to fix warnings.
      
        HOSTCC  scripts/kconfig/gconf.o
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'change_sym_value':
      /usr/src/lto/scripts/kconfig/gconf.c:833:11: warning: variable 'oldval' set but not used [-Wunused-but-set-variable]
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'update_tree':
      /usr/src/lto/scripts/kconfig/gconf.c:1281:19: warning: variable 'prop' set but not used [-Wunused-but-set-variable]
      Signed-off-by: NPeter Foley <pefoley2@verizon.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      4f0c28f7
    • P
      kconfig: fix warnings by specifing format arguments · a7d6f6e4
      Peter Foley 提交于
      Specify format arguments to fix warnings.
      
        HOSTCC  scripts/kconfig/gconf.o
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_introduction1_activate':
      /usr/src/lto/scripts/kconfig/gconf.c:686:6: warning: format not a string literal and no format arguments
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_about1_activate':
      /usr/src/lto/scripts/kconfig/gconf.c:704:6: warning: format not a string literal and no format arguments
      /usr/src/lto/scripts/kconfig/gconf.c: In function 'on_license1_activate':
      /usr/src/lto/scripts/kconfig/gconf.c:723:6: warning: format not a string literal and no format arguments
      Signed-off-by: NPeter Foley <pefoley2@verizon.net>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      a7d6f6e4
  17. 09 9月, 2011 5 次提交
  18. 30 8月, 2011 1 次提交