sparc: Validate that kprobe address is 4-byte aligned.

Otherwise it isn't a valid instruction address.

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

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2009-12-09 23:57:24 -08:00
commit 936cf25178