Merge tag 'smp-urgent-2023-09-02' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / powerpc / include / asm / powernv.h
CommitLineData
2874c5fd 1/* SPDX-License-Identifier: GPL-2.0-or-later */
1d0761d2
AP
2/*
3 * Copyright 2017 IBM Corp.
1d0761d2
AP
4 */
5
6#ifndef _ASM_POWERNV_H
7#define _ASM_POWERNV_H
8
9#ifdef CONFIG_PPC_POWERNV
10extern void powernv_set_nmmu_ptcr(unsigned long ptcr);
54820530 11
19f8a5b5
PM
12void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
13
54820530 14void pnv_tm_init(void);
1d0761d2
AP
15#else
16static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
54820530
ME
17
18static inline void pnv_tm_init(void) { }
1d0761d2
AP
19#endif
20
21#endif /* _ASM_POWERNV_H */