fix bug to compile MetalSVM on RockCreek without LwIP support

This commit is contained in:
Stefan Lankes 2011-07-04 13:25:50 -07:00
parent ea10e8f4d6
commit f5c3437e09

View file

@ -82,7 +82,9 @@ static void intr_handler(struct state *s)
// reset appropriate bit in the core configuration register
int tmp, z;
#ifdef CONFIG_LWIP
mmnif_irqhandler();
#endif
z = Z_PID(RC_COREID[my_ue]);
tmp=ReadConfigReg(CRB_OWN + (z==0 ? GLCFG0 : GLCFG1));