From: Will Deacon Date: Fri, 3 Sep 2010 09:39:59 +0000 (+0100) Subject: ARM: 6355/1: hw-breakpoint: add mechanism for hooking into prefetch aborts X-Git-Tag: v2.6.37-rc1~184^2~7^4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a4b5dca53aecb16db9e007d782b2d1e757e941a;p=pandora-kernel.git ARM: 6355/1: hw-breakpoint: add mechanism for hooking into prefetch aborts On ARM processors with hardware breakpoint and watchpoint support, triggering these events results in a debug exception. These manifest as prefetch and data aborts respectively. arch/arm/mm/fault.c already provides hook_fault_code for hooking into data aborts dependent on the DFSR. This patch adds a new function, hook_ifault_code for hooking into prefetch aborts in the same manner. Cc: Frederic Weisbecker Cc: S. Karthikeyan Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed