aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2015-05-12 16:41:50 +0200
committerIngo Molnar <[email protected]>2015-05-19 08:39:13 +0200
commite017cf21ae82e0b36f026b22083a8ae67926f465 (patch)
tree08d31d2f9a9dd35ed14ef1cdb2d1308bbaed2fec
parentb30f0e3ffedfa52b1d67a302ae5860c49998e5e2 (diff)
sched/preempt: Fix out of date comment
Signed-off-by: Frederic Weisbecker <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--include/linux/preempt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index 45da394f2779..4057696c641c 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -116,7 +116,7 @@
/*
* Check whether we were atomic before we did preempt_disable():
- * (used by the scheduler, *after* releasing the kernel lock)
+ * (used by the scheduler)
*/
#define in_atomic_preempt_off() \
((preempt_count() & ~PREEMPT_ACTIVE) != PREEMPT_DISABLE_OFFSET)