summaryrefslogtreecommitdiff
path: root/firmware/target/arm/thread-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/thread-pp.c')
-rw-r--r--firmware/target/arm/thread-pp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/thread-pp.c b/firmware/target/arm/thread-pp.c
index 3eb7238a25..5e834bc6ad 100644
--- a/firmware/target/arm/thread-pp.c
+++ b/firmware/target/arm/thread-pp.c
@@ -21,6 +21,8 @@
21 * 21 *
22 ****************************************************************************/ 22 ****************************************************************************/
23 23
24#include "gcc_extensions.h"
25
24#if defined(MAX_PHYS_SECTOR_SIZE) && MEMORYSIZE == 64 26#if defined(MAX_PHYS_SECTOR_SIZE) && MEMORYSIZE == 64
25/* Support a special workaround object for large-sector disks */ 27/* Support a special workaround object for large-sector disks */
26#define IF_NO_SKIP_YIELD(...) __VA_ARGS__ 28#define IF_NO_SKIP_YIELD(...) __VA_ARGS__
@@ -546,7 +548,7 @@ void core_wake(unsigned int othercore)
546#endif /* CPU_PPxxxx */ 548#endif /* CPU_PPxxxx */
547 549
548/* Keep constant pool in range of inline ASM */ 550/* Keep constant pool in range of inline ASM */
549static void __attribute__((naked, used)) dump_ltorg(void) 551static void __attribute__((naked)) USED_ATTR dump_ltorg(void)
550{ 552{
551 asm volatile (".ltorg"); 553 asm volatile (".ltorg");
552} 554}