s390/boot: move uv function declarations to boot/uv.h
[linux-2.6-microblaze.git] / arch / s390 / boot / uv.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef BOOT_UV_H
3 #define BOOT_UV_H
4
5 #if IS_ENABLED(CONFIG_KVM)
6 void adjust_to_uv_max(unsigned long *vmax);
7 #else
8 static inline void adjust_to_uv_max(unsigned long *vmax) {}
9 #endif
10
11 #if defined(CONFIG_PROTECTED_VIRTUALIZATION_GUEST) || IS_ENABLED(CONFIG_KVM)
12 void uv_query_info(void);
13 #else
14 static inline void uv_query_info(void) {}
15 #endif
16
17 #endif /* BOOT_UV_H */