1. 08 3月, 2010 1 次提交
    • S
      scripts: improve checkstack · 1f2a144f
      Stephen Hemminger 提交于
      Cleanup checkstack script:
        * Turn on strict checking
        * Fix resulting error message because the declaration syntax
          was incorrect.
        * Remove incorrect and misleading use of prototype
           - prototype not required for this type of sort function
             because $a and $b are being used in this contex
           - if prototype was being used it should be for both arguments
        * Use closure for sort function
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Arjan van de Ven <arjan@infradead.org>
      Cc: Cong Wang <amwang@redhat.com>
      Cc: Michal Marek <mmarek@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      1f2a144f
  2. 07 3月, 2010 1 次提交
  3. 03 3月, 2010 25 次提交
  4. 22 2月, 2010 1 次提交
  5. 17 2月, 2010 2 次提交
  6. 06 2月, 2010 3 次提交
    • A
      kbuild: move -fno-dwarf2-cfi-asm to powerpc only · d0679c73
      Andi Kleen 提交于
      Better dwarf2 unwind information is a good thing, it allows better
      debugging with kgdb and crash and helps systemtap.
      
      Commit 00308649 ("Build with
      -fno-dwarf2-cfi-asm") disabled some CFI information globally to work
      around a module loader bug on powerpc.
      
      But this disables the better unwind tables for all architectures, not just
      powerpc.  Move the workaround to powerpc and also add a suitable comment
      that's it really a workaround.
      
      This improves dwarf2 unwind tables on x86 at least.
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Cc: Kyle McMartin <kyle@mcmartin.ca>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      d0679c73
    • H
      markup_oops.pl: minor fixes · 59dde385
      Hui Zhu 提交于
      1. Fix a little format issue.
      2. Check the return of "Getopt::Long::GetOptions".  Output usage and
         exit if it get error.
      3. Change $ARGV[$#ARGV] to $ARGV[0].
      4. Change the code which get $modulefile from modinfo.  Replace the
         pipeline with `modinfo -F filename $module`.
      4. Change usage from "Specify the module directory name" to "Specify the
         module filename".
      Signed-off-by: NHui Zhu <teawater@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      59dde385
    • H
      markup_oops.pl: add options to improve cross-sompilation environments · 52e13e21
      Hui Zhu 提交于
      The markup_oops.pl have 3 troubles to support cross-compiler environment:
      1.  It use objdump directly.
      2.  It use modinfo to get the message of module.
      3.  It use hex function that cannot support 64-bit number in 32-bit arch.
      
      This patch add 3 options to markup_oops.pl:
      1. -c CROSS_COMPILE	Specify the prefix used for toolchain.
      2. -m MODULE_DIRNAME	Specify the module directory name.
      3. Change hex function to Math::BigInt->from_hex.
      
      After this patch, parse the x8664 oops in x86, we can:
      cat amd64m | perl ~/kernel/tmp/m.pl -c /home/teawater/kernel/bin/x8664- -m ./e.ko vmlinux
      
      Thanks,
      Hui
      Signed-off-by: NHui Zhu <teawater@gmail.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: ozan@pardus.org.tr
      Cc: Matthew Wilcox <willy@linux.intel.com>
      Acked-by: NWANG Cong <xiyou.wangcong@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      52e13e21
  7. 02 2月, 2010 7 次提交