projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de5a662
)
powerpc/eeh: Export confirm_error_lock
author
Gavin Shan
<gwshan@linux.vnet.ibm.com>
Wed, 28 Sep 2016 04:34:54 +0000
(14:34 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 29 Sep 2016 04:51:03 +0000
(14:51 +1000)
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 <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/eeh.c
b/arch/powerpc/kernel/eeh.c
index 0699f15f44cfe264f92664087dbbdef1582d5eda..130bcae1e2dab9d2eb1690ef48c3aebe96db7bc0 100644
(file)
--- 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);