/arch/powerpc/kernel/cacheinfo.h

http://github.com/mirrors/linux · C Header · 13 lines · 7 code · 3 blank · 3 comment · 0 complexity · 99bdbce6122ce9df6055ebc2064e84d9 MD5 · raw file

  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _PPC_CACHEINFO_H
  3. #define _PPC_CACHEINFO_H
  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. /* Allow migration/suspend to tear down and rebuild the hierarchy. */
  8. extern void cacheinfo_teardown(void);
  9. extern void cacheinfo_rebuild(void);
  10. #endif /* _PPC_CACHEINFO_H */