diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-29 15:01:59 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-29 15:05:00 +0200 |
commit | 2d452c9b10caeec455eb5e56a0ef4ed485178213 (patch) | |
tree | 8c7af10fa4b2f69307a1b4e0a997ed9d4e2ed32d /Documentation | |
parent | sched: export cpu_clock (diff) | |
download | linux-2d452c9b10caeec455eb5e56a0ef4ed485178213.tar.xz linux-2d452c9b10caeec455eb5e56a0ef4ed485178213.zip |
sched: sched_clock_cpu() based cpu_clock(), lockdep fix
Vegard Nossum reported:
> WARNING: at kernel/lockdep.c:2738 check_flags+0x142/0x160()
which happens due to:
unsigned long long cpu_clock(int cpu)
{
unsigned long long clock;
unsigned long flags;
raw_local_irq_save(flags);
as lower level functions can take locks, we must not do that, use
proper lockdep-annotated irq save/restore.
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions