aboutsummaryrefslogtreecommitdiff
path: root/include/affinity.h
blob: 88bd285fc85722a1df5bbac82dd765ef1fb130f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
/*
 * All functions in charge of generating the associativity/affinity
 * properties in the device-tree
 *
 * Copyright 2013-2014 IBM Corp.
 */

#ifndef __AFFINITY_H
#define __AFFINITY_H

struct dt_node;
struct cpu_thread;

extern void add_associativity_ref_point(void);

extern void add_chip_dev_associativity(struct dt_node *dev);
extern void add_core_associativity(struct cpu_thread *cpu);

#endif /* __AFFINITY_H */