File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ static inline irqstate_t up_irq_save(void)
357
357
(
358
358
"\tmrs %0, cpsr\n"
359
359
"\tcpsid i\n"
360
- #if defined(CONFIG_ARMV7A_DECODEFIQ )
360
+ #if defined(CONFIG_ARMV7R_DECODEFIQ )
361
361
"\tcpsid f\n"
362
362
#endif
363
363
: "=r" (cpsr )
@@ -378,7 +378,7 @@ static inline irqstate_t up_irq_enable(void)
378
378
(
379
379
"\tmrs %0, cpsr\n"
380
380
"\tcpsie i\n"
381
- #if defined(CONFIG_ARMV7A_DECODEFIQ )
381
+ #if defined(CONFIG_ARMV7R_DECODEFIQ )
382
382
"\tcpsie f\n"
383
383
#endif
384
384
: "=r" (cpsr )
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ extern "C"
57
57
*
58
58
****************************************************************************/
59
59
60
- #ifdef CONFIG_ARMV7A_HAVE_PTM
60
+ #ifdef CONFIG_ARMV7R_HAVE_PTM
61
61
struct oneshot_lowerhalf_s * arm_timer_initialize (unsigned int freq );
62
62
#else
63
63
# define arm_timer_initialize (freq ) NULL
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ arm_vectorirq:
132
132
133
133
/ * Switch to SYS mode * /
134
134
135
- #ifdef CONFIG_ARMV7A_DECODEFIQ
135
+ #ifdef CONFIG_ARMV7R_DECODEFIQ
136
136
cpsid if , #PSR_MODE_SYS
137
137
#else
138
138
cpsid i , #PSR_MODE_SYS
@@ -242,7 +242,7 @@ arm_vectorsvc:
242
242
243
243
/ * Switch to SYS mode * /
244
244
245
- #ifdef CONFIG_ARMV7A_DECODEFIQ
245
+ #ifdef CONFIG_ARMV7R_DECODEFIQ
246
246
cpsid if , #PSR_MODE_SYS
247
247
#else
248
248
cpsid i , #PSR_MODE_SYS
@@ -353,7 +353,7 @@ arm_vectordata:
353
353
354
354
/ * Switch to SYS mode * /
355
355
356
- #ifdef CONFIG_ARMV7A_DECODEFIQ
356
+ #ifdef CONFIG_ARMV7R_DECODEFIQ
357
357
cpsid if , #PSR_MODE_SYS
358
358
#else
359
359
cpsid i , #PSR_MODE_SYS
You can’t perform that action at this time.
0 commit comments