On Mon 2010-04-19 11:03:09, Daniel Walker wrote: > From: Daniel Walker <c_dwalke@xxxxxxxxxxx> > > When booting up we need to wait for the modem processor to > partially boot. This is because the modem processor does > resource allocation for us. If we don't wait the modem won't > honor our requests and we end up crashing or in an unknown > state. This change just formalizes the waiting process. ... > +/* > + * We need to wait for the ARM9 to at least partially boot > + * up before we can continue. Since the ARM9 does resource > + * allocation, if we dont' wait we could end up crashing or in typo. > + * and unknown state. This function should be called early to > + * wait on the ARM9. > + */ > +void __init proc_comm_boot_wait(void) > +{ > + void __iomem *base = MSM_SHARED_RAM_BASE; > + > + proc_comm_wait_for(base + MDM_STATUS, PCOM_READY); > + > +} static inline, move it to header file? > diff --git a/arch/arm/mach-msm/proc_comm.h b/arch/arm/mach-msm/proc_comm.h > index 0f5cdd3..12da4ca 100644 > --- a/arch/arm/mach-msm/proc_comm.h > +++ b/arch/arm/mach-msm/proc_comm.h > @@ -16,6 +16,8 @@ > #ifndef _ARCH_ARM_MACH_MSM_PROC_COMM_H_ > #define _ARCH_ARM_MACH_MSM_PROC_COMM_H_ > > +#include <linux/init.h> > + ...so that this is not needed? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html