xref: /linux-6.15/arch/hexagon/include/asm/exec.h (revision 08dbd0f8)
1*08dbd0f8SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
28335896bSDavid Howells /*
38335896bSDavid Howells  * Process execution related definitions for the Hexagon architecture
48335896bSDavid Howells  *
5e1858b2aSRichard Kuo  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
68335896bSDavid Howells  */
78335896bSDavid Howells 
88335896bSDavid Howells #ifndef _ASM_EXEC_H
98335896bSDavid Howells #define _ASM_EXEC_H
108335896bSDavid Howells 
118335896bSDavid Howells /*  Should probably shoot for an 8-byte aligned stack pointer  */
128335896bSDavid Howells #define STACK_MASK (~7)
138335896bSDavid Howells #define arch_align_stack(x) (x & STACK_MASK)
148335896bSDavid Howells 
158335896bSDavid Howells #endif /* _ASM_EXEC_H */
16