18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _PPC_CACHEINFO_H
38c2ecf20Sopenharmony_ci#define _PPC_CACHEINFO_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/* These are just hooks for sysfs.c to use. */
68c2ecf20Sopenharmony_ciextern void cacheinfo_cpu_online(unsigned int cpu_id);
78c2ecf20Sopenharmony_ciextern void cacheinfo_cpu_offline(unsigned int cpu_id);
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* Allow migration/suspend to tear down and rebuild the hierarchy. */
108c2ecf20Sopenharmony_ciextern void cacheinfo_teardown(void);
118c2ecf20Sopenharmony_ciextern void cacheinfo_rebuild(void);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif /* _PPC_CACHEINFO_H */
14