projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch-5.15.79-rt54.patch
[platform/kernel/linux-rpi.git]
/
include
/
linux
/
entry-common.h
diff --git
a/include/linux/entry-common.h
b/include/linux/entry-common.h
index
2e2b8d6
..
71064a2
100644
(file)
--- a/
include/linux/entry-common.h
+++ b/
include/linux/entry-common.h
@@
-57,9
+57,15
@@
# define ARCH_EXIT_TO_USER_MODE_WORK (0)
#endif
# define ARCH_EXIT_TO_USER_MODE_WORK (0)
#endif
+#ifdef CONFIG_PREEMPT_LAZY
+# define _TIF_NEED_RESCHED_MASK (_TIF_NEED_RESCHED | _TIF_NEED_RESCHED_LAZY)
+#else
+# define _TIF_NEED_RESCHED_MASK (_TIF_NEED_RESCHED)
+#endif
+
#define EXIT_TO_USER_MODE_WORK \
(_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | _TIF_UPROBE | \
#define EXIT_TO_USER_MODE_WORK \
(_TIF_SIGPENDING | _TIF_NOTIFY_RESUME | _TIF_UPROBE | \
- _TIF_NEED_RESCHED
| _TIF_PATCH_PENDING | _TIF_NOTIFY_SIGNAL |
\
+ _TIF_NEED_RESCHED
_MASK | _TIF_PATCH_PENDING | _TIF_NOTIFY_SIGNAL |
\
ARCH_EXIT_TO_USER_MODE_WORK)
/**
ARCH_EXIT_TO_USER_MODE_WORK)
/**