diff options
| author | qiuyiuestc <[email protected]> | 2010-08-01 23:25:41 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-08-01 23:25:41 +0000 |
| commit | b3207276bd465f6e7f99fde7168f5cc3624b782a (patch) | |
| tree | d3564e6aa2e99d60fbc5bf046f824bb06f0f2e4b /libcpu | |
| parent | 9f105860590c21ec997c1c7c3f7c3303ce6b9103 (diff) | |
small change
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@820 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/s3c24x0/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/s3c24x0/trap.c b/libcpu/arm/s3c24x0/trap.c index 0a99c54143..65f47af242 100644 --- a/libcpu/arm/s3c24x0/trap.c +++ b/libcpu/arm/s3c24x0/trap.c @@ -142,14 +142,14 @@ void rt_hw_trap_irq() if (intstat == INTGLOBAL) return; + /* clear pending register */ + ClearPending(1 << intstat); + /* get interrupt service routine */ isr_func = isr_table[intstat]; /* turn to interrupt service routine */ isr_func(intstat); - - /* clear pending register */ - ClearPending(1 << intstat); } void rt_hw_trap_fiq() |
