cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

uv.h (552B)


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