kgdb: Fix kernel-doc format error in kgdb.h
[safe/jmp/linux-2.6] / include / linux / preempt.h
index 72b1a10..2e681d9 100644 (file)
@@ -105,6 +105,11 @@ struct preempt_notifier;
  * @sched_out: we've just been preempted
  *    notifier: struct preempt_notifier for the task being preempted
  *    next: the task that's kicking us out
+ *
+ * Please note that sched_in and out are called under different
+ * contexts.  sched_out is called with rq lock held and irq disabled
+ * while sched_in is called without rq lock and irq enabled.  This
+ * difference is intentional and depended upon by its users.
  */
 struct preempt_ops {
        void (*sched_in)(struct preempt_notifier *notifier, int cpu);