summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mcheck/mce-internal.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2017-01-23 19:35:13 +0100
committerIngo Molnar <mingo@kernel.org>2017-01-24 09:14:56 +0100
commitcff4c0391a692cf9b89932c62a7f879fb3637148 (patch)
treeefbc40ecc6f8fab7010df49ae910f1c1aec8990e /arch/x86/kernel/cpu/mcheck/mce-internal.h
parent0bceab677dcef409f6281d922461057721d547b3 (diff)
downloadlinux-cff4c0391a692cf9b89932c62a7f879fb3637148.tar.gz
linux-cff4c0391a692cf9b89932c62a7f879fb3637148.tar.bz2
linux-cff4c0391a692cf9b89932c62a7f879fb3637148.zip
x86/ras: Get rid of mce_process_work()
Make mce_gen_pool_process() the workqueue function directly and save us an indirection. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tony Luck <tony.luck@intel.com> Cc: Yazen Ghannam <Yazen.Ghannam@amd.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/20170123183514.13356-9-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce-internal.h')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce-internal.h b/arch/x86/kernel/cpu/mcheck/mce-internal.h
index cd74a3f00aea..903043e6a62b 100644
--- a/arch/x86/kernel/cpu/mcheck/mce-internal.h
+++ b/arch/x86/kernel/cpu/mcheck/mce-internal.h
@@ -31,7 +31,7 @@ struct mce_evt_llist {
struct mce mce;
};
-void mce_gen_pool_process(void);
+void mce_gen_pool_process(struct work_struct *__unused);
bool mce_gen_pool_empty(void);
int mce_gen_pool_add(struct mce *mce);
int mce_gen_pool_init(void);