arm64: debug: rename enum debug_el to avoid symbol collision
authorWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 17:36:54 +0000 (18:36 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 17:36:54 +0000 (18:36 +0100)
commit6f883d10a18b971a3646303d12ef75138dfd31f9
tree91e4001d36720193793ec9be6390ae81e9ca2666
parent662ba3dbceca3ca284885a464ecb8c936f417003
arm64: debug: rename enum debug_el to avoid symbol collision

lib/list_sort.c defines a 'struct debug_el', where "el" is assumedly a
a contraction of "element". This conflicts with 'enum debug_el' in our
asm/debug-monitors.h header file, where "el" stands for Exception Level.

The result is build failure when targetting allmodconfig, so rename our
enum to 'dbg_active_el' to be slightly more explicit about what it is.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/debug-monitors.h
arch/arm64/kernel/debug-monitors.c
arch/arm64/kernel/hw_breakpoint.c