]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kexec: introduce kexec_ops struct
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 21 Jun 2012 13:22:41 +0000 (15:22 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 28 Jun 2012 07:44:45 +0000 (09:44 +0200)
commit37c7dae7b8f432c1f68161f6fd49f404e4a41435
treef5cfa88209aae550fdb8062a1f721bca19c80ca9
parente79ac7d544c9d9b7bb5257f478f97e280f38bf47
kexec: introduce kexec_ops struct

Some kexec/kdump implementations (e.g. Xen PVOPS) on different archs could
not use default functions or require some changes in behavior of kexec/kdump
generic code. To cope with that problem kexec_ops struct was introduced.
It allows a developer to replace all or some functions and control some
functionality of kexec/kdump generic code.

Default behavior of kexec/kdump generic code is not changed.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
include/linux/kexec.h
kernel/kexec.c