sparc: Validate that kprobe address is 4-byte aligned.
authorDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2009 07:57:24 +0000 (23:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2009 07:57:24 +0000 (23:57 -0800)
commit936cf251787be41833afe2a1e44fbd5fb2adbdb6
treed6252bfd62d14db5e135d6e1680083d5b4261870
parent08a036d583409e3517e3d15b7478d029b25f2cf2
sparc: Validate that kprobe address is 4-byte aligned.

Otherwise it isn't a valid instruction address.

This is the sparc equivalent of commit
b46b3d70c9c017d7c4ec49f7f3ffd0af5a622277 (kprobes: Checks probe
address is instruction boudary on x86)

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kprobes.c