diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-10-13 09:19:09 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2013-04-30 08:17:14 (GMT) |
commit | f3377324b04dcaeed499879fda1e172520c37d0c (patch) | |
tree | 8b989eff9bf50530eea61ec83bca28946e3693b4 /net/ceph | |
parent | dfc0aea2042676fef748ef3f6757e727324cbe45 (diff) | |
download | linux-fsl-qoriq-f3377324b04dcaeed499879fda1e172520c37d0c.tar.xz |
hardirq.h: Define softirq_count() as OUL to kill build warning
kernel/lockdep.c: In function ‘print_bad_irq_dependency’:
kernel/lockdep.c:1476:3: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 7 has type ‘unsigned int’
kernel/lockdep.c: In function ‘print_usage_bug’:
kernel/lockdep.c:2193:3: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 7 has type ‘unsigned int’
kernel/lockdep.i show this:
printk("%s/%d [HC%u[%lu]:SC%u[%lu]:HE%u:SE%u] is trying to acquire:\n",
curr->comm, task_pid_nr(curr),
curr->hardirq_context, ((current_thread_info()->preempt_count) & (((1UL << (10))-1) << ((0 + 8) + 8))) >> ((0 + 8) + 8),
curr->softirq_context, (0U) >> (0 + 8),
curr->hardirqs_enabled,
curr->softirqs_enabled);
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Link: http://lkml.kernel.org/r/20111013091909.GA32739@zhy
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/ceph')
0 files changed, 0 insertions, 0 deletions