x86/mce: adjust comment of callback register functions
authorHaozhong Zhang <haozhong.zhang@intel.com>
Wed, 8 Mar 2017 14:09:16 +0000 (15:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Mar 2017 14:09:16 +0000 (15:09 +0100)
commitf735aa5356afef66bc0d3b8fc645955006aebc0d
tree479a436eb367ebd325b13ae0db4c74cf9c7d79a5
parentbf118558984ebd42843bc81f873b3f378aca4fdd
x86/mce: adjust comment of callback register functions

c/s e966818264908e842e2847f579ca4d94e586eaac added
mce_need_clearbank_register below the comment of
x86_mce_callback_register(). This commit (1) adjusts the first
paragraph of comment to be a general statement of all callback
register functions, and (2) moves the second paragraph to the
front of x86_mce_callback_register().

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mce.h