1. 23 9月, 2008 1 次提交
  2. 22 8月, 2008 1 次提交
  3. 07 8月, 2008 1 次提交
  4. 06 8月, 2008 1 次提交
  5. 05 8月, 2008 2 次提交
  6. 02 8月, 2008 1 次提交
  7. 01 8月, 2008 3 次提交
  8. 31 7月, 2008 3 次提交
  9. 26 7月, 2008 17 次提交
    • S
      setlocalversion: do not describe if there is nothing to describe · 56b2f070
      Sebastian Siewior 提交于
      Jan Engelhardt wrote:
      > Just a note that when you run git-describe, you should probably quiten it.
      >
      > fatal: cannot describe 'bd7364a0fd5a4a2878fe4a224be1b142a4e6698e'
      >
      > This happens when tags are not present, which can happen if Linus's tree
      > is sent upwards again, IOW:
      >
      >  machine1$  git-clone torvalds/linux-2.6.git
      >  machine1$  git push elsewhere master
      >
      >  machine2$  git-clone elsewhere:/linux
      >  machine2$  git-describe HEAD
      >  fatal: cannot describe that
      Signed-off-by: NSebastian Siewior <sebastian@breakpoint.cc>
      Acked-by: NJan Engelhardt <jengelh@medozas.de>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      56b2f070
    • S
      kconfig: make defconfig is no longer chatty · 09748e17
      Sam Ravnborg 提交于
      make defconfig generated a lot of output
      then noone actually read.
      Use conf_set_all_new_symbols() to generate the default
      configuration and avoid the chatty output.
      
      A typical run now looks like this:
      $ make  defconfig
      *** Default configuration is based on 'i386_defconfig'
      arch/x86/configs/i386_defconfig:13:warning: trying to assign nonexistent symbol SEMAPHORE_SLEEPERS
      arch/x86/configs/i386_defconfig:176:warning: trying to assign nonexistent symbol PREEMPT_BKL
      ...
      arch/x86/configs/i386_defconfig:1386:warning: trying to assign nonexistent symbol INSTRUMENTATION
      $
      
      As an added benefit we now clearly see the warnings generated
      in the start of the process.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      09748e17
    • S
      kconfig: make oldconfig is now less chatty · cd9140e1
      Sam Ravnborg 提交于
      Previously when running "make oldconfig" we saw all the propmt lines
      from kconfig and noone actully read this.
      
      With this patch the user will only see output if there is new symbols.
      This will be seen as "make oldconfig" runs which does not generate any output.
      
      A typical run now looks like this:
      
      $ make oldconfig
      scripts/kconfig/conf -o arch/x86/Kconfig
      $
      
      If a new symbol is found then we restart the config process like this:
      $ make oldconfig
      scripts/kconfig/conf -o arch/x86/Kconfig
      *
      * Restart config...
      *
      *
      * General setup
      *
      Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?] y
      Local version - append to kernel release (LOCALVERSION) []
      ...
      
      The bahaviour is similar to what we know when running the implicit
      oldconfig target "make silentoldconfig".
      "make silentoldconfig" are run as part of the kernel build process
      if the configuration has changed.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      cd9140e1
    • S
      kconfig: speed up all*config + randconfig · f443d2ec
      Sam Ravnborg 提交于
      Drop the chatty mode when we generate the all*config, randconfig
      configurations.
      Ths speeds up the process considerably and noone looked
      at the output anyway.
      This patch uses the conf_set_all_new_symbols() function
      just added to kconfig.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      f443d2ec
    • R
      kconfig: set all new symbols automatically · dc7862e5
      Roman Zippel 提交于
      Add conf_set_all_new_symbols() which set all symbols (which don't have a
      value yet) to a specifed value.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      dc7862e5
    • T
      kconfig: add diffconfig utility · a717417e
      Tim Bird 提交于
      Diffconfig is a simple utility for comparing two kernel configuration files.
      See usage in the script for more info.
      Signed-off-by: NTim Bird <tim.bird@am.sony.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a717417e
    • R
      kernel-doc: handle/strip __init · 74fc5c65
      Randy Dunlap 提交于
      Handle __init in functions with kernel-doc notation by stripping the
      __init away from the output doc.  This is already being done for
      "__devinit".  This patch fixes these kernel-doc error/aborts:
      
      Error(linux-next-20080619//drivers/usb/gadget/config.c:132): cannot understand prototype: 'struct usb_descriptor_header **__init usb_copy_descriptors(struct usb_descriptor_header **src) '
      Error(linux-next-20080619//drivers/usb/gadget/config.c:182): cannot understand prototype: 'struct usb_endpoint_descriptor *__init usb_find_endpoint( 	struct usb_descriptor_header **src, 	struct usb_descriptor_header **copy, 	struct usb_endpoint_descriptor *match ) '
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      74fc5c65
    • S
      kbuild: prepare headers_* for arch/$ARCH/include · 2fb9b1bd
      Sam Ravnborg 提交于
      Factor out the headers_*_all support to a seperate
      shell script and add support for arch specific
      header files can be located in either
      
          arch/$ARCH/include/asm
      or
          include/asm-$ARCH/
      
      In "make help" always display the headers_* targets.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      2fb9b1bd
    • S
      kbuild: install all headers when arch is changed · db1bec4f
      Sam Ravnborg 提交于
      We see some header files that are selected dependent on
      the actual architecture so force a reinstallation
      of all header files when the arch changes.
      This slows down "make headers_check_all" but then
      we better reflect reality.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      db1bec4f
    • S
      kbuild: optimize headers_* targets · 7712401a
      Sam Ravnborg 提交于
      Move the core functionality of headers_install
      and headers_check to two small perl scripts.
      The makefile is adapted to use the perl scrip and
      changed to operate on all files in a directory.
      So if one file is changed then all files in the
      directory is processed.
      
      perl were chosen for the helper scripts because this
      is pure text processing which perl is good at and
      especially the headers_check.pl script are expected to
      see changes / new checks implmented.
      
      The speed is ~300% faster on this box.
      And the output generated to the screen is now down to
      two lines per directory (one for install, one for check)
      so it is easier to scroll back after a kernel build.
      
      The perl scripts has been brought to sanity by patient
      feedback from: Vegard Nossum <vegard.nossum@gmail.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      7712401a
    • S
      kbuild: only one call for include/ in make headers_* · 88181ec3
      Sam Ravnborg 提交于
      Move it to the top-level file to decide if we install/check
      the generic headers or the arch specific headers.
      
      This revealed a long standing bug where "make headers_check_all"
      relied on the files in asm/ for the current architecture.
      So make headers_check_all is now broken by this commit.
      
      In addition:
      
      o add a simpler way to detect if an arch support
        exporting header files.
      
      o add 'set -e;' so we error out early if
        make headers_check_all fails.
      
      o add sparc64 and cris to arch we do not process
        in make headers_*_all because:
      
          sparc64 - use sparc to export headers
          cris    - is know seriously broken
      
      Includes suggestions from: David Woodhouse
      <dwmw2@infradead.org>.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      88181ec3
    • S
      kbuild: code refactoring in Makefile.headerinst · 62284a37
      Sam Ravnborg 提交于
      No functional changes just improved readability
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      62284a37
    • S
      kbuild: drop support of ALTARCH for headers_* · 283039fb
      Sam Ravnborg 提交于
      ALTARCH is no longer used by any arch(*) so drop
      support for this from Makefile.headerinst
      
      Dropping ALTARCH support simplifies Makefile.headerinst
      
      (*) sparc64 uses it but work is ongoing to drop it
      and no furter usage is planned.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: David Miller <davem@davemloft.net>
      283039fb
    • S
      kbuild: always unifdef files in headers_install* · 4e420aa9
      Sam Ravnborg 提交于
      unifdef utility is fast enough to warrant that we always
      run the scripts through unifdef.
      
      This patch runs all headers listed with header-y and unifdef-y
      through unifdef.
      Next step is to drop unifdef-y in all Kbuild files and
      that can now be done in smaller steps.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Adrian Bunk <bunk@kernel.org>
      4e420aa9
    • D
      firmware: create firmware binaries during 'make modules'. · 44463f7d
      David Woodhouse 提交于
      This means that we no longer need write access to the source tree while
      doing 'make modules_install'.
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      44463f7d
    • E
      fix checkstack.pl arch detection · abddaec5
      Eric Sandeen 提交于
      uname -m was leaving a newline in $arch, and not passing the tests.
      
      Also, printing the unknown arch on failure is probably helpful.
      Signed-off-by: NEric Sandeen <sandeen@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      abddaec5
    • E
      find dynamic stack allocations in checkstack.pl · 585e93ae
      Eric Sandeen 提交于
      Currently, checkstack.pl only looks for fixed subtractions from the stack
      pointer.  However, things like this:
      
      void function(int size)
      {
              char stackbuster[size << 2];
      ...
      
      are certainly worth pointing out, I think.
      
      This could perhaps be done more cleanly, and the following patch only
      adds "dynamic" REs for x86 and x86_64, but it works:
      
      0x00b0 crypto_cbc_decrypt_inplace [cbc]:                Dynamic (%rax)
      0x00ad crypto_pcbc_decrypt_inplace [pcbc]:              Dynamic (%rax)
      0x02f6 crypto_pcbc_encrypt_inplace [pcbc]:              Dynamic (%rax)
      0x036c _crypto_xcbc_digest_setkey [xcbc]:               Dynamic (%rax)
      ...
      
      (Inspired by Keith Owens' old stack-check script)
      Signed-off-by: NEric Sandeen <sandeen@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      585e93ae
  10. 25 7月, 2008 10 次提交
反馈
建议
客服 返回
顶部