Linux Audio

Check our new training course

Loading...
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright 2017 IBM Corp.
 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);
11
12void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
13
14void pnv_tm_init(void);
15#else
16static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
17
18static inline void pnv_tm_init(void) { }
19#endif
20
21#endif /* _ASM_POWERNV_H */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright 2017 IBM Corp.
 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);
11
12void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
13
14void pnv_tm_init(void);
15#else
16static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
17
18static inline void pnv_tm_init(void) { }
19#endif
20
21#endif /* _ASM_POWERNV_H */