]> git.neil.brown.name Git - history.git/commit
[PATCH] Modules 2/3: Use sh_addr instead of sh_offset
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 1 Jan 2003 11:02:32 +0000 (03:02 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 1 Jan 2003 11:02:32 +0000 (03:02 -0800)
commit18f7a1aea0dff1bb189913d62a34329689c33a15
tree8715b6be7d4565317ca8022e306bdef00260e5f3
parentdfe2cbd1fdf176d34650be008a13c63b512003b8
[PATCH] Modules 2/3: Use sh_addr instead of sh_offset

From: Richard Henderson <rth@twiddle.net>

Richard points out that we should be using sh_addr to hold the address,

The original patch used to overload sh_offset to a pointer to the
location of the section.  This uses sh_addr, which is more correct
and less surprising.
arch/arm/kernel/module.c
arch/i386/kernel/module.c
arch/ppc/kernel/module.c
arch/s390/kernel/module.c
arch/s390x/kernel/module.c
arch/sparc/kernel/module.c
arch/sparc64/kernel/module.c
arch/v850/kernel/module.c
arch/x86_64/kernel/module.c
kernel/module.c