[parisc-linux-cvs] linux-2.5 jejb

James Bottomley parisc-linux@lists.parisc-linux.org
Sun, 8 Jun 2003 20:29:02 -0600 (MDT)


CVSROOT:	/var/cvs
Module name:	linux-2.5
Changes by:	jejb	03/06/08 20:29:02

Modified files:
	arch/parisc/kernel: module.c 
	include/asm-parisc: module.h 

Log message:
Fix final elusive panic in module loading

It turns out that the vmallocs() for the core and init memory pieces of the
module can be more than a PCREL17F away, so the stubs allocated in the
core are too far away to relocate the init.

The fix is to add separate stubs for core and init (also helps reduce
the module size since the init stubs can be discarded).