From: Michal Simek Date: Thu, 5 Aug 2010 14:22:22 +0000 (-0500) Subject: kgdb,powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE X-Git-Tag: v2.6.36-rc1~542^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0a55e3579a500ce9f5cdab70a5741f99769118;p=pandora-kernel.git kgdb,powerpc: Replace hardcoded offset by BREAK_INSTR_SIZE kgdb_handle_breakpoint checks the first arch_kgdb_breakpoint which is not known by gdb that's why is necessary jump over it. The jump lenght is equal to BREAK_INSTR_SIZE that's why is cleaner to use defined macro instead of hardcoded non-described offset. Signed-off-by: Michal Simek Signed-off-by: Jason Wessel Acked-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed