]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SPARC64]: Fix several bugs in flush_ptrace_access().
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Sep 2005 01:50:34 +0000 (18:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Sep 2005 01:50:34 +0000 (18:50 -0700)
commit717463d806a53380a691eeb0136a4b750a9f9ae0
treea9c76e59662916d133362a5266bb61dc2586344b
parent4cb29d18129fb425c6202ab535c3fc1856391b99
[SPARC64]: Fix several bugs in flush_ptrace_access().

1) Use cpudata cache line sizes, not magic constants.
2) Align start address in cheetah case so we do not get
   unaligned address traps.  (pgrep was good at triggering
   this, via /proc/${pid}/cmdline accesses)

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