Re: [patch] ac17: alpha ptrace fix

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Tue Jun 13 2000 - 08:43:35 EST


On Tue, Jun 13, 2000 at 07:17:48AM -0600, Philipp Rumpf wrote:
> That's an unaligned access. What actually probably happens is there is
> padding between .processor and .ptrace. While this isn't news
> (last_processor is an int between two pointers), we probably shouldn't
> rely on the compiler padding structs in assembly.

No, it's aligned properly. 104=8*13.
So no padding between int processor and ulong ptrace.
>
> So changing TASK_PTRACE to be 108 seems to be the easiest fix for now.
>
BTW, I was confused for a moment by these numbers too, but then
I realized that they are decimal, not hex :-)

Ivan.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:28 EST