/arch/ppc64/kernel/setup.c

Thomas 'Dent' Mirlacher (dent@cosy.sbg.ac.at)
Fri, 5 Apr 2002 17:29:12 +0200 (MET DST)


hi list,

can someone please explain to me who calibrate_delay works in
arch/ppc64/kernel/setup.c?

as i can see it calibrate.c is a global function defined in init/main.h.
arch/ppc64/kernel/setup.c sets a pointer to the address of this function
extern void (*calibrate_delay)(void); and assigns its own routine to that
pointer. - hmm, every time i tried to do similar things (by mistake :),
the program segfaulted on me.

- can someone please explain how this should work?

thanks,

tm

-- 
in some way i do, and in some way i don't.

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