diff options
Diffstat (limited to 'roms/skiboot/include/affinity.h')
-rw-r--r-- | roms/skiboot/include/affinity.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roms/skiboot/include/affinity.h b/roms/skiboot/include/affinity.h new file mode 100644 index 000000000..88bd285fc --- /dev/null +++ b/roms/skiboot/include/affinity.h @@ -0,0 +1,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 */ |