• I
    x86, mm: fault.c, remove #ifdef from do_page_fault() · c3731c68
    Ingo Molnar 提交于
    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: NIngo Molnar <mingo@elte.hu>
    c3731c68
fault.c 26.3 KB