Commit 2a9ad18d authored by Mike Frysinger's avatar Mike Frysinger Committed by Linus Torvalds

lockdep: use new arch_is_kernel_data()

This allows lockdep to locate symbols that are in arch-specific data
sections (such as data in Blackfin on-chip SRAM regions).
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Robin Getz <rgetz@blackfin.uclinux.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 128e8db3
...@@ -578,6 +578,9 @@ static int static_obj(void *obj) ...@@ -578,6 +578,9 @@ static int static_obj(void *obj)
if ((addr >= start) && (addr < end)) if ((addr >= start) && (addr < end))
return 1; return 1;
if (arch_is_kernel_data(addr))
return 1;
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
/* /*
* percpu var? * percpu var?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment