^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _PPC_CACHEINFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _PPC_CACHEINFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) /* These are just hooks for sysfs.c to use. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) extern void cacheinfo_cpu_online(unsigned int cpu_id);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) extern void cacheinfo_cpu_offline(unsigned int cpu_id);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) /* Allow migration/suspend to tear down and rebuild the hierarchy. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) extern void cacheinfo_teardown(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern void cacheinfo_rebuild(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #endif /* _PPC_CACHEINFO_H */