cregit-Linux how code gets into the kernel

Release 4.14 arch/s390/include/asm/numa.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * NUMA support for s390
 *
 * Declare the NUMA core code structures and functions.
 *
 * Copyright IBM Corp. 2015
 */

#ifndef _ASM_S390_NUMA_H

#define _ASM_S390_NUMA_H

#ifdef CONFIG_NUMA

#include <linux/numa.h>
#include <linux/cpumask.h>

void numa_setup(void);
int numa_pfn_to_nid(unsigned long pfn);
int __node_distance(int a, int b);
void numa_update_cpu_topology(void);

extern cpumask_t node_to_cpumask_map[MAX_NUMNODES];
extern int numa_debug_enabled;

#else


static inline void numa_setup(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Philipp Hachtmann8100.00%1100.00%
Total8100.00%1100.00%


static inline void numa_update_cpu_topology(void) { }

Contributors

PersonTokensPropCommitsCommitProp
Philipp Hachtmann8100.00%1100.00%
Total8100.00%1100.00%


static inline int numa_pfn_to_nid(unsigned long pfn) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Michael Holzheu14100.00%1100.00%
Total14100.00%1100.00%

#endif /* CONFIG_NUMA */ #endif /* _ASM_S390_NUMA_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Philipp Hachtmann8083.33%125.00%
Michael Holzheu1414.58%125.00%
Martin Schwidefsky11.04%125.00%
Greg Kroah-Hartman11.04%125.00%
Total96100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.