Update irq.c

Add the cpu ports dependancy