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

numa.h (292B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _LINUX_NUMA_H
      3#define _LINUX_NUMA_H
      4
      5
      6#ifdef CONFIG_NODES_SHIFT
      7#define NODES_SHIFT     CONFIG_NODES_SHIFT
      8#else
      9#define NODES_SHIFT     0
     10#endif
     11
     12#define MAX_NUMNODES    (1 << NODES_SHIFT)
     13
     14#define	NUMA_NO_NODE	(-1)
     15
     16#endif /* _LINUX_NUMA_H */