aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam3x8e/timer.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-02-14 22:39:43 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-02-19 11:00:46 -0500
commit38e9484f9ffabd98962a00bb4403261f0c58b1ab (patch)
tree4fa8cc453403d86b077d3d333d60a9325b349c94 /src/sam3x8e/timer.c
parentfec12030a9c63490ef357e71e2430133a64bbe34 (diff)
downloadkutter-38e9484f9ffabd98962a00bb4403261f0c58b1ab.tar.gz
kutter-38e9484f9ffabd98962a00bb4403261f0c58b1ab.tar.xz
kutter-38e9484f9ffabd98962a00bb4403261f0c58b1ab.zip
armcm_irq: Move ARM Cortex-M irq handling to new file
The irq handling in sam3x8e isn't specific to the sam3x8e proccessor - it's generic for all armcm type machines. So, move the definitions into a new file generic/armcm-irq.c Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3x8e/timer.c')
-rw-r--r--src/sam3x8e/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam3x8e/timer.c b/src/sam3x8e/timer.c
index 667e9b65..bab2512f 100644
--- a/src/sam3x8e/timer.c
+++ b/src/sam3x8e/timer.c
@@ -5,9 +5,9 @@
// This file may be distributed under the terms of the GNU GPLv3 license.
#include "autoconf.h" // CONFIG_CLOCK_FREQ
+#include "board/irq.h" // irq_disable
#include "board/misc.h" // timer_from_us
#include "command.h" // shutdown
-#include "irq.h" // irq_disable
#include "sam3x8e.h" // TC0
#include "sched.h" // sched_timer_kick