mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Change "r" back to "i" (i is for immediate, so no syntax error) and reclaim a bit binsize. Live with that those function don't build with -O0 since they rely on inlining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23641 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c12502f249
commit
3b402e254a
1 changed files with 3 additions and 3 deletions
|
|
@ -243,7 +243,7 @@ static inline void enable_interrupt(int mask)
|
|||
"mrs %0, cpsr \n"
|
||||
"bic %0, %0, %1 \n"
|
||||
"msr cpsr_c, %0 \n"
|
||||
: "=&r"(tmp) : "r"(mask));
|
||||
: "=&r"(tmp) : "i"(mask));
|
||||
}
|
||||
|
||||
static inline void disable_interrupt(int mask)
|
||||
|
|
@ -254,7 +254,7 @@ static inline void disable_interrupt(int mask)
|
|||
"mrs %0, cpsr \n"
|
||||
"orr %0, %0, %1 \n"
|
||||
"msr cpsr_c, %0 \n"
|
||||
: "=&r"(tmp) : "r"(mask));
|
||||
: "=&r"(tmp) : "i"(mask));
|
||||
}
|
||||
|
||||
static inline int disable_interrupt_save(int mask)
|
||||
|
|
@ -266,7 +266,7 @@ static inline int disable_interrupt_save(int mask)
|
|||
"orr %0, %1, %2 \n"
|
||||
"msr cpsr_c, %0 \n"
|
||||
: "=&r"(tmp), "=&r"(cpsr)
|
||||
: "r"(mask));
|
||||
: "i"(mask));
|
||||
return cpsr;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue