projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched: Generalize sleep inside spinlock detection
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
linux
/
kernel.h
diff --git
a/include/linux/kernel.h
b/include/linux/kernel.h
index fb0e7329fee1a5ad370b2e5284ceb681670c7395..24b489f6659268e401a63f90ed05cb41d8115fbd 100644
(file)
--- a/
include/linux/kernel.h
+++ b/
include/linux/kernel.h
@@
-121,7
+121,7
@@
extern int _cond_resched(void);
# define might_resched() do { } while (0)
#endif
-#ifdef CONFIG_DEBUG_
SPINLOCK
_SLEEP
+#ifdef CONFIG_DEBUG_
ATOMIC
_SLEEP
void __might_sleep(const char *file, int line, int preempt_offset);
/**
* might_sleep - annotation for functions that can sleep