]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kprobes: Some minor fixes
authorKumar Gala <galak@kernel.crashing.org>
Thu, 26 Jun 2008 06:57:58 +0000 (01:57 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 26 Jun 2008 08:35:33 +0000 (03:35 -0500)
commitec75c66bcf7230582c5308f8eb1b596b79ebf2df
tree94348c544cc2c7b26ab0c5aa75b93c89e959a17e
parentdc8cdfc6cee6bd6c41c541ec731f34c798ea74bb
powerpc/kprobes: Some minor fixes

* Mark __flush_icache_range as a function that can't be probed since its
  used by the kprobe code.

* Fix an issue with single stepping and async exceptions.  We need to
  ensure that we dont get an async exception (external, decrementer, etc)
  while we are attempting to single step the probe point.

  Added a check to ensure we only handle a single step if its really
  intended for the instruction in question.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/misc_32.S