git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'xtensa-20220325' of https://github.com/jcmvbkbc/linux-xtensa
[sfrench/cifs-2.6.git]
/
arch
/
xtensa
/
include
/
asm
/
core.h
diff --git
a/arch/xtensa/include/asm/core.h
b/arch/xtensa/include/asm/core.h
index 9138077e567ddc333b07f3266a01ad64e903e570..f856d2bcb9f3618d9b8025b438590f5bed687f76 100644
(file)
--- a/
arch/xtensa/include/asm/core.h
+++ b/
arch/xtensa/include/asm/core.h
@@
-37,4
+37,11
@@
#endif
#endif
+/* Xtensa ABI requires stack alignment to be at least 16 */
+#if XCHAL_DATA_WIDTH > 16
+#define XTENSA_STACK_ALIGNMENT XCHAL_DATA_WIDTH
+#else
+#define XTENSA_STACK_ALIGNMENT 16
+#endif
+
#endif