]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86, mce: factor out duplicated struct mce setup into one function
authorAndi Kleen <andi@firstfloor.org>
Thu, 12 Feb 2009 12:43:22 +0000 (13:43 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 19 Feb 2009 22:51:39 +0000 (14:51 -0800)
commitb5f2fa4ea00a179ac1c2ff342ceeee261dd75e53
tree08fcd00fe45ba442d4bf51cc9fdc34e8b16238b3
parent0d7482e3d76522157c9d741d79fce22c401fa0c5
x86, mce: factor out duplicated struct mce setup into one function

Impact: cleanup

This merely factors out duplicated code to set up
the initial struct mce state into a single function.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce_64.c
arch/x86/kernel/cpu/mcheck/mce_amd_64.c
arch/x86/kernel/cpu/mcheck/mce_intel_64.c