Andreas Färber wrote:
Move trampoline variable initialization to init_trampoline(), like in kernel/bootstrap.c.
Add calls to a new forth_init() function for each architecture to invoke it. Idea courtesy of Blue.
This fixes ppc64 compilation by avoiding a casted self-reference.
Cc: Blue Swirl blauwirbel@gmail.com Signed-off-by: Andreas Färber andreas.faerber@web.de
The basic patch looks fine to me, except that you've missed one of the callers in kernel/bootstrap.c (i.e. I'd rip out the version there and use yours instead).
ATB,
Mark.