vermagic.h (7318234c8d7c0f209f993ee46a7ea148efdb28b9) | vermagic.h (37744feebc086908fd89760650f458ab19071750) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef _ASM_VERMAGIC_H 4#define _ASM_VERMAGIC_H 5 6#ifdef CONFIG_CPU_LITTLE_ENDIAN 7# ifdef CONFIG_CPU_SH2 8# define MODULE_PROC_FAMILY "SH2LE " 9# elif defined CONFIG_CPU_SH3 10# define MODULE_PROC_FAMILY "SH3LE " 11# elif defined CONFIG_CPU_SH4 12# define MODULE_PROC_FAMILY "SH4LE " | 1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef _ASM_VERMAGIC_H 4#define _ASM_VERMAGIC_H 5 6#ifdef CONFIG_CPU_LITTLE_ENDIAN 7# ifdef CONFIG_CPU_SH2 8# define MODULE_PROC_FAMILY "SH2LE " 9# elif defined CONFIG_CPU_SH3 10# define MODULE_PROC_FAMILY "SH3LE " 11# elif defined CONFIG_CPU_SH4 12# define MODULE_PROC_FAMILY "SH4LE " |
13# elif defined CONFIG_CPU_SH5 14# define MODULE_PROC_FAMILY "SH5LE " | |
15# else 16# error unknown processor family 17# endif 18#else 19# ifdef CONFIG_CPU_SH2 20# define MODULE_PROC_FAMILY "SH2BE " 21# elif defined CONFIG_CPU_SH3 22# define MODULE_PROC_FAMILY "SH3BE " 23# elif defined CONFIG_CPU_SH4 24# define MODULE_PROC_FAMILY "SH4BE " | 13# else 14# error unknown processor family 15# endif 16#else 17# ifdef CONFIG_CPU_SH2 18# define MODULE_PROC_FAMILY "SH2BE " 19# elif defined CONFIG_CPU_SH3 20# define MODULE_PROC_FAMILY "SH3BE " 21# elif defined CONFIG_CPU_SH4 22# define MODULE_PROC_FAMILY "SH4BE " |
25# elif defined CONFIG_CPU_SH5 26# define MODULE_PROC_FAMILY "SH5BE " | |
27# else 28# error unknown processor family 29# endif 30#endif 31 32#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY 33 34#endif /* _ASM_VERMAGIC_H */ | 23# else 24# error unknown processor family 25# endif 26#endif 27 28#define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY 29 30#endif /* _ASM_VERMAGIC_H */ |