1.向內核註冊中斷:request_irqio
2.肯定中斷號(BSP包提供)request
tq2440中直接使用IRQ_EINT4程序
tiny4412中使用gpio_to_irq(EXYNOS4_GPX3(2))內核
3.編寫中斷服務程序:注意其返回值類型irqreturn_treturn