1. 23 Jan, 2005 4 commits
    • Keith Owens's avatar
      [PATCH] fix module kallsym lookup breakage · 3abf629a
      Keith Owens authored
      Anton Blanchard wrote:
      >Your recent patch looks to break module kallsyms lookups....
      >It looks like if CONFIG_KALLSYMS_ALL is set then we never look up module
      >addresses.
      
      Separate lookups for kernel and modules when CONFIG_KALLSYMS_ALL=y.
      Signed-off-by: default avatarKeith Owens <kaos@ocs.com.au>
      Acked-by: default avatarChris Wedgwood <cw@f00f.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3abf629a
    • Andi Kleen's avatar
      [PATCH] x86-64: Fix UP build warning · 66e586c6
      Andi Kleen authored
      Fix warning:
      
      In file included from include/asm/numa.h:5,
                       from arch/x86_64/kernel/setup64.c:27:
      include/asm/numnodes.h:6:1: warning: "NODES_SHIFT" redefined
      In file included from include/linux/mmzone.h:13,
                       from include/linux/gfp.h:4,
                       from include/linux/slab.h:15,
                       from include/linux/percpu.h:4,
                       from include/linux/sched.h:33,
                       from arch/x86_64/kernel/setup64.c:11:
      include/linux/numa.h:11:1: warning: this is the location of the previous definition
      
      in UP builds.
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      66e586c6
    • Andi Kleen's avatar
      [PATCH] i386/x86-64: Fix ioremap off by one · 28019bca
      Andi Kleen authored
      From Terence Ripperda <tripperda@nvidia.com>
      
      When doing iounmap don't try to change_page_attr back the guard
      page that ioremap added.
      
      Since the last round of change_page_attr changes this would
      trigger an BUG because the reference count on the changed pages
      wouldn't match up.
      
      The problem would be only visible on machines with >3GB of memory,
      because only then the PCI memory hole is below end_pfn and
      change_page_attr is used.
      
      Fixed for both i386 and x86-64.
      
      This was actually discovered&fixed by Andrea earlier, but I goofed up
      while doing the last ioremap fixes merge and this change got lost.
      Poor Terence had to debug it again. Sorry about that.
      
      cc: andrea@suse.de
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      28019bca
    • Andi Kleen's avatar
      [PATCH] x86_64: Fix int3 trap · b3245157
      Andi Kleen authored
      Undo bogus change that was introduced with kprobes.  It's not
      really needed and it breaks some user applications because
      it changes the signal for int 3 from SIGTRAP to SIGSEGV.
      
      Cc: <prasanna@in.ibm.com>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      b3245157
  2. 22 Jan, 2005 36 commits