Nathan Lynch | 93197a3 | 2008-12-23 18:55:54 +0000 | [diff] [blame] | 1 | #ifndef _PPC_CACHEINFO_H |
| 2 | #define _PPC_CACHEINFO_H |
| 3 | |
| 4 | /* These are just hooks for sysfs.c to use. */ |
| 5 | extern void cacheinfo_cpu_online(unsigned int cpu_id); |
| 6 | extern void cacheinfo_cpu_offline(unsigned int cpu_id); |
| 7 | |
Nathan Lynch | 88311d7 | 2019-06-11 23:45:04 -0500 | [diff] [blame] | 8 | /* Allow migration/suspend to tear down and rebuild the hierarchy. */ |
| 9 | extern void cacheinfo_teardown(void); |
| 10 | extern void cacheinfo_rebuild(void); |
| 11 | |
Nathan Lynch | 93197a3 | 2008-12-23 18:55:54 +0000 | [diff] [blame] | 12 | #endif /* _PPC_CACHEINFO_H */ |