arm64: struct debug_info: Check CONFIG_HAVE_HW_BREAKPOINT
authorChris Redmon <credmonster@gmail.com>
Thu, 16 Mar 2017 22:10:43 +0000 (18:10 -0400)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 22 Mar 2017 17:21:38 +0000 (17:21 +0000)
commitfda89d9efcabaafcbbb189e969d46dc634574b67
treec3984d526caec87eef163ff9e2ba6dc38ac7bec8
parent44176bb38fa48726a9658b2ccf407ea94113c760
arm64: struct debug_info: Check CONFIG_HAVE_HW_BREAKPOINT

Check if CONFIG_HAVE_HW_BREAKPOINT is enabled before compiling in extra
data required for hardware breakpoints. Compiling out this code when hw
breakpoints are disabled saves about 272 bytes per struct task_struct.

Signed-off-by: Chris Redmon <credmonster@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/processor.h