mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-08 23:04:35 +08:00
a922b15611
Simplify users of XCHAL_HAVE_EXTERN_REGS and XCHAL_HAVE_VECBASE and always define them as 0 if they're not defined in the variant/core.h Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
30 lines
506 B
C
30 lines
506 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2019 Cadence Design Systems Inc. */
|
|
|
|
#ifndef _ASM_XTENSA_CORE_H
|
|
#define _ASM_XTENSA_CORE_H
|
|
|
|
#include <variant/core.h>
|
|
|
|
#ifndef XCHAL_HAVE_EXCLUSIVE
|
|
#define XCHAL_HAVE_EXCLUSIVE 0
|
|
#endif
|
|
|
|
#ifndef XCHAL_HAVE_EXTERN_REGS
|
|
#define XCHAL_HAVE_EXTERN_REGS 0
|
|
#endif
|
|
|
|
#ifndef XCHAL_HAVE_MPU
|
|
#define XCHAL_HAVE_MPU 0
|
|
#endif
|
|
|
|
#ifndef XCHAL_HAVE_VECBASE
|
|
#define XCHAL_HAVE_VECBASE 0
|
|
#endif
|
|
|
|
#ifndef XCHAL_SPANNING_WAY
|
|
#define XCHAL_SPANNING_WAY 0
|
|
#endif
|
|
|
|
#endif
|