diff options
author | imp <imp@FreeBSD.org> | 2012-07-10 15:02:29 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-07-10 15:02:29 +0000 |
commit | 296ee98cf617a1b6cf917a4e8edc5f246e75d775 (patch) | |
tree | e38ff59d508b481c21ce001ac03ed1270ac3f274 /sys/arm/at91/at91sam9g20.c | |
parent | 161f1787a0c402cfebc33d0a99b6be5a04dd5c6f (diff) | |
download | FreeBSD-src-296ee98cf617a1b6cf917a4e8edc5f246e75d775.zip FreeBSD-src-296ee98cf617a1b6cf917a4e8edc5f246e75d775.tar.gz |
Remove a useless bit of indirection. On all Atmel ARM products, irq 1
is the system IRQ, so use the define for it and get on with life.
Diffstat (limited to 'sys/arm/at91/at91sam9g20.c')
-rw-r--r-- | sys/arm/at91/at91sam9g20.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/arm/at91/at91sam9g20.c b/sys/arm/at91/at91sam9g20.c index 5a9c172..5f1fc9b 100644 --- a/sys/arm/at91/at91sam9g20.c +++ b/sys/arm/at91/at91sam9g20.c @@ -215,7 +215,6 @@ at91_attach(device_t dev) /* XXX Hack to tell atmelarm about the AIC */ at91sc->sc_aic_sh = sc->sc_aic_sh; - at91sc->sc_irq_system = AT91_IRQ_SYSTEM; for (i = 0; i < 32; i++) { bus_space_write_4(sc->sc_st, sc->sc_aic_sh, IC_SVR + |