uv.h 552 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_IA64_UV_UV_H
  3. #define _ASM_IA64_UV_UV_H
  4. #ifdef CONFIG_IA64_SGI_UV
  5. extern bool ia64_is_uv;
  6. static inline int is_uv_system(void)
  7. {
  8. return ia64_is_uv;
  9. }
  10. void __init uv_probe_system_type(void);
  11. void __init uv_setup(char **cmdline_p);
  12. #else /* CONFIG_IA64_SGI_UV */
  13. static inline int is_uv_system(void)
  14. {
  15. return false;
  16. }
  17. static inline void __init uv_probe_system_type(void)
  18. {
  19. }
  20. static inline void __init uv_setup(char **cmdline_p)
  21. {
  22. }
  23. #endif /* CONFIG_IA64_SGI_UV */
  24. #endif /* _ASM_IA64_UV_UV_H */