From: Gavin Shan Date: Wed, 28 Sep 2016 04:34:54 +0000 (+1000) Subject: powerpc/eeh: Export confirm_error_lock X-Git-Tag: v4.14-rc1~2273^2~101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35066c0d798906d46c352c3f12844d2a162d057d;p=platform%2Fkernel%2Flinux-rpi.git powerpc/eeh: Export confirm_error_lock This exports @confirm_error_lock so that eeh_serialize_{lock, unlock}() can be used to freeze the affected PE in PCI surprise hot remove path. Signed-off-by: Gavin Shan Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c index 0699f15..130bcae 100644 --- a/arch/powerpc/kernel/eeh.c +++ b/arch/powerpc/kernel/eeh.c @@ -116,6 +116,7 @@ struct eeh_ops *eeh_ops = NULL; /* Lock to avoid races due to multiple reports of an error */ DEFINE_RAW_SPINLOCK(confirm_error_lock); +EXPORT_SYMBOL_GPL(confirm_error_lock); /* Lock to protect passed flags */ static DEFINE_MUTEX(eeh_dev_mutex);