]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm64: add '#ifdef CONFIG_COMPAT' for aarch32_break_handler()
authorChen Gang <gang.chen@asianux.com>
Mon, 24 Jun 2013 09:27:49 +0000 (10:27 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 19 Jul 2013 14:49:43 +0000 (15:49 +0100)
commitc783c2815e13bbb0c0b99997cc240bd7e91b6bb8
tree03c8398781ec97193ef99983a91d14cc6de13815
parent53ae3acd4390ffeecb3a11dbd5be347b5a3d98f2
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 <gang.chen@asianux.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/debug-monitors.h