From: Chen Gang Date: Mon, 24 Jun 2013 09:27:49 +0000 (+0100) Subject: arm64: add '#ifdef CONFIG_COMPAT' for aarch32_break_handler() X-Git-Tag: v3.11-rc2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c783c2815e13bbb0c0b99997cc240bd7e91b6bb8;p=pandora-kernel.git arm64: add '#ifdef CONFIG_COMPAT' for aarch32_break_handler() If 'COMPAT' not defined, aarch32_break_handler() cannot pass compiling, and it can work independent with 'COMPAT', so remove dummy definition. The related error: arch/arm64/kernel/debug-monitors.c:249:5: error: redefinition of ‘aarch32_break_handler’ In file included from arch/arm64/kernel/debug-monitors.c:29:0: /root/linux-next/arch/arm64/include/asm/debug-monitors.h:89:12: note: previous definition of ‘aarch32_break_handler’ was here Signed-off-by: Chen Gang Acked-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed