xref: /OK3568_Linux_fs/kernel/arch/ia64/include/asm/cyclone.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef ASM_IA64_CYCLONE_H
3*4882a593Smuzhiyun #define ASM_IA64_CYCLONE_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #ifdef	CONFIG_IA64_CYCLONE
6*4882a593Smuzhiyun extern int use_cyclone;
7*4882a593Smuzhiyun extern void __init cyclone_setup(void);
8*4882a593Smuzhiyun #else	/* CONFIG_IA64_CYCLONE */
9*4882a593Smuzhiyun #define use_cyclone 0
cyclone_setup(void)10*4882a593Smuzhiyun static inline void cyclone_setup(void)
11*4882a593Smuzhiyun {
12*4882a593Smuzhiyun 	printk(KERN_ERR "Cyclone Counter: System not configured"
13*4882a593Smuzhiyun 					" w/ CONFIG_IA64_CYCLONE.\n");
14*4882a593Smuzhiyun }
15*4882a593Smuzhiyun #endif	/* CONFIG_IA64_CYCLONE */
16*4882a593Smuzhiyun #endif	/* !ASM_IA64_CYCLONE_H */
17