xref: /kernel/linux/linux-6.6/arch/powerpc/include/asm/powernv.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/powerpc/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright 2017 IBM Corp.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _ASM_POWERNV_H
762306a36Sopenharmony_ci#define _ASM_POWERNV_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#ifdef CONFIG_PPC_POWERNV
1062306a36Sopenharmony_ciextern void powernv_set_nmmu_ptcr(unsigned long ptcr);
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_civoid pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_civoid pnv_tm_init(void);
1562306a36Sopenharmony_ci#else
1662306a36Sopenharmony_cistatic inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_cistatic inline void pnv_tm_init(void) { }
1962306a36Sopenharmony_ci#endif
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif /* _ASM_POWERNV_H */
22

Indexes created Thu Nov 07 10:32:03 CST 2024