processor.h (1136fa0c07de570dc17858745af8be169d1440ba) processor.h (e94dc6bbdf29787a5ddb01c143a074c31e427dc7)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2001 - 2008 Tensilica Inc.
7 * Copyright (C) 2015 Cadence Design Systems Inc.
8 */

--- 4 unchanged lines hidden (view full) ---

13#include <asm/core.h>
14
15#include <linux/compiler.h>
16#include <linux/stringify.h>
17#include <asm/ptrace.h>
18#include <asm/types.h>
19#include <asm/regs.h>
20
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2001 - 2008 Tensilica Inc.
7 * Copyright (C) 2015 Cadence Design Systems Inc.
8 */

--- 4 unchanged lines hidden (view full) ---

13#include <asm/core.h>
14
15#include <linux/compiler.h>
16#include <linux/stringify.h>
17#include <asm/ptrace.h>
18#include <asm/types.h>
19#include <asm/regs.h>
20
21/* Xtensa ABI requires stack alignment to be at least 16 */
21#define ARCH_SLAB_MINALIGN XTENSA_STACK_ALIGNMENT
22
22
23#define STACK_ALIGN (XCHAL_DATA_WIDTH > 16 ? XCHAL_DATA_WIDTH : 16)
24
25#define ARCH_SLAB_MINALIGN STACK_ALIGN
26
27/*
28 * User space process size: 1 GB.
29 * Windowed call ABI requires caller and callee to be located within the same
30 * 1 GB region. The C compiler places trampoline code on the stack for sources
31 * that take the address of a nested C function (a feature used by glibc), so
32 * the 1 GB requirement applies to the stack as well.
33 */
34

--- 243 unchanged lines hidden ---
23/*
24 * User space process size: 1 GB.
25 * Windowed call ABI requires caller and callee to be located within the same
26 * 1 GB region. The C compiler places trampoline code on the stack for sources
27 * that take the address of a nested C function (a feature used by glibc), so
28 * the 1 GB requirement applies to the stack as well.
29 */
30

--- 243 unchanged lines hidden ---