aboutsummaryrefslogtreecommitdiff
path: root/include/affinity.h
blob: fe952bf602e51c88b3ae66b67246d8bef674d9eb (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
/*
 * 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 */