diff options
author | 2013-06-09 11:08:32 +0800 | |
---|---|---|
committer | 2013-06-20 10:37:41 +0200 | |
commit | 3bae4811fb6d0b2849e3129abaf9c116f956c7a3 (patch) | |
tree | 6e155487d1c1265183074cadb3219b86cee4e621 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: grgpio: Staticize local symbols (diff) | |
download | linux-dev-3bae4811fb6d0b2849e3129abaf9c116f956c7a3.tar.xz linux-dev-3bae4811fb6d0b2849e3129abaf9c116f956c7a3.zip |
gpiolib: remove warnning of allocations with IRQs disabled
Move of_gpiochip_add outof spin_lock, since kzalloc inside
of_gpiochip_add -> of_gpiochip_add_pin_range -> gpiochip_add_pin_range -> kzalloc
WARNING: at kernel/lockdep.c:2740 lockdep_trace_alloc+0xf8/0xfc()
DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions