mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Add config and compile options which allow to compile with z17 optimizations if the compiler supports it. Add the miscellaneous-instruction-extension 4 facility to the list of facilities for z17. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
42 lines
801 B
C
42 lines
801 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef __ASM_S390_MARCH_H
|
|
#define __ASM_S390_MARCH_H
|
|
|
|
#include <linux/kconfig.h>
|
|
|
|
#define MARCH_HAS_Z10_FEATURES 1
|
|
|
|
#ifndef __DECOMPRESSOR
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_Z196_FEATURES
|
|
#define MARCH_HAS_Z196_FEATURES 1
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_ZEC12_FEATURES
|
|
#define MARCH_HAS_ZEC12_FEATURES 1
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_Z13_FEATURES
|
|
#define MARCH_HAS_Z13_FEATURES 1
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_Z14_FEATURES
|
|
#define MARCH_HAS_Z14_FEATURES 1
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_Z15_FEATURES
|
|
#define MARCH_HAS_Z15_FEATURES 1
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_Z16_FEATURES
|
|
#define MARCH_HAS_Z16_FEATURES 1
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_MARCH_Z17_FEATURES
|
|
#define MARCH_HAS_Z17_FEATURES 1
|
|
#endif
|
|
|
|
#endif /* __DECOMPRESSOR */
|
|
|
|
#endif /* __ASM_S390_MARCH_H */
|