summaryrefslogtreecommitdiff
path: root/arch/csky
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-27 09:27:31 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-27 09:27:31 -0800
commitb6cc7a0436906b18f51c3e6b1f41d648bf645bd7 (patch)
treef3c595614f68e6c22f312ade2a2d46e0fc86d806 /arch/csky
parentf3a2439f20d918930cc4ae8f76fe1c1afd26958f (diff)
parent4a3ec00957fdf182be705d46e77acacc430f7d65 (diff)
Merge tag 'csky-for-linus-6.3' of https://github.com/c-sky/csky-linux
Pull csky update from Guo Ren: - Optimize delay accuracy * tag 'csky-for-linus-6.3' of https://github.com/c-sky/csky-linux: csky: delay: Add function alignment
Diffstat (limited to 'arch/csky')
-rw-r--r--arch/csky/lib/delay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/lib/delay.c b/arch/csky/lib/delay.c
index 22570b0790d6..f5db317313bb 100644
--- a/arch/csky/lib/delay.c
+++ b/arch/csky/lib/delay.c
@@ -5,7 +5,7 @@
#include <linux/init.h>
#include <linux/delay.h>
-void __delay(unsigned long loops)
+void __aligned(8) __delay(unsigned long loops)
{
asm volatile (
"mov r0, r0\n"