treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / include / asm / powernv.h
blobe1a858718716f9fafdadfbe0aa9b7b2de1778def
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright 2017 IBM Corp.
4 */
6 #ifndef _ASM_POWERNV_H
7 #define _ASM_POWERNV_H
9 #ifdef CONFIG_PPC_POWERNV
10 extern void powernv_set_nmmu_ptcr(unsigned long ptcr);
12 void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
14 void pnv_tm_init(void);
15 #else
16 static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
18 static inline void pnv_tm_init(void) { }
19 #endif
21 #endif /* _ASM_POWERNV_H */