]> git.baikalelectronics.ru Git - kernel.git/commit
x86/traps: Introduce do_error_trap()
authorOleg Nesterov <oleg@redhat.com>
Wed, 7 May 2014 15:21:34 +0000 (17:21 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 14 May 2014 11:57:27 +0000 (13:57 +0200)
commitdbbb403bfb2f7628fc014532fde15d48fad8e3d7
tree82eea728e7ac18b02824ead8f69c172a85124e5e
parentdd00b217683b1d5900df54fd72185f61309c3caf
x86/traps: Introduce do_error_trap()

Move the common code from DO_ERROR() and DO_ERROR_INFO() into the new
helper, do_error_trap(). This simplifies define's and shaves 527 bytes
from traps.o.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
arch/x86/kernel/traps.c