]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86, mm: fault.c, remove #ifdef from do_page_fault()
authorIngo Molnar <mingo@elte.hu>
Fri, 20 Feb 2009 22:22:34 +0000 (23:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Feb 2009 23:09:44 +0000 (00:09 +0100)
commitc3731c68668325abddee8665018c74c7156a57be
tree82f8da8e648e9d0aa785180fc09d1bc47f35985e
parent1cc99544dde9e48602979f16b9309fade6e93051
x86, mm: fault.c, remove #ifdef from do_page_fault()

Impact: cleanup

do_page_fault() has this ugly #ifdef in its prototype:

  #ifdef CONFIG_X86_64
  asmlinkage
  #endif
  void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code)

Replace it with 'dotraplinkage' which maps to exactly the above
construct: nothing on 32-bit and asmlinkage on 64-bit.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/fault.c