blob: 52bd3fc6642da11329abb3ec465f6709b897a651 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _PPC_CACHEINFO_H
3#define _PPC_CACHEINFO_H
4
5/* These are just hooks for sysfs.c to use. */
6extern void cacheinfo_cpu_online(unsigned int cpu_id);
7extern void cacheinfo_cpu_offline(unsigned int cpu_id);
8
David Brazdil0f672f62019-12-10 10:32:29 +00009/* Allow migration/suspend to tear down and rebuild the hierarchy. */
10extern void cacheinfo_teardown(void);
11extern void cacheinfo_rebuild(void);
12
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013#endif /* _PPC_CACHEINFO_H */