]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Jan 2012 20:45:41 +0000 (12:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Jan 2012 20:45:41 +0000 (12:45 -0800)
* 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  rcu: Add missing __cpuinit annotation in rcutorture code
  sched: Add "const" to is_idle_task() parameter
  rcu: Make rcutorture bool parameters really bool (core code)
  memblock: Fix alloc failure due to dumb underflow protection in memblock_find_in_range_node()

1  2 
include/linux/sched.h

index 513f524598724d14eaf62384e40712fc1624006c,40d84481a1c98e98b67a819035bbb0976997a714..2234985a5e6546a7476cfb7801032d14dd524c0c
@@@ -2088,9 -2087,9 +2088,9 @@@ extern int sched_setscheduler_nocheck(s
  extern struct task_struct *idle_task(int cpu);
  /**
   * is_idle_task - is the specified task an idle task?
 - * @tsk: the task in question.
 + * @p: the task in question.
   */
- static inline bool is_idle_task(struct task_struct *p)
+ static inline bool is_idle_task(const struct task_struct *p)
  {
        return p->pid == 0;
  }