]> git.hungrycats.org Git - linux/commit
[PATCH] sh: Use asm-offsets
authorPaul Mundt <paul.mundt@nokia.com>
Mon, 18 Oct 2004 15:58:30 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 15:58:30 +0000 (08:58 -0700)
commit83da6494a3a6d1411aa25e9900a787e2a15b5724
treea7a673bc663770e6ef0cc11f5bf90594c5d18340
parentd9199a04ae59737cfb2fc28b1ce0da9b628ed5b9
[PATCH] sh: Use asm-offsets

This basically follows the same change as for sh64 and adds asm-offsets to sh.
 Some hardcoded thread_info struct offsets get cleaned up by this.

Signed-off-by: Paul Mundt <paul.mundt@nokia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sh/kernel/asm-offsets.c [new file with mode: 0644]
arch/sh/kernel/entry.S
include/asm-sh/thread_info.h