GNU Linux-libre 4.19.286-gnu1
[releases.git] / arch / ia64 / include / asm / uv / uv.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_IA64_UV_UV_H
3 #define _ASM_IA64_UV_UV_H
4
5 #include <asm/sn/simulator.h>
6
7 static inline int is_uv_system(void)
8 {
9         /* temporary support for running on hardware simulator */
10         return IS_MEDUSA() || ia64_platform_is("uv");
11 }
12
13 #endif  /* _ASM_IA64_UV_UV_H */