Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright 2017 IBM Corp.
0004  */
0005 
0006 #ifndef _ASM_POWERNV_H
0007 #define _ASM_POWERNV_H
0008 
0009 #ifdef CONFIG_PPC_POWERNV
0010 extern void powernv_set_nmmu_ptcr(unsigned long ptcr);
0011 
0012 void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val);
0013 
0014 void pnv_tm_init(void);
0015 #else
0016 static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
0017 
0018 static inline void pnv_tm_init(void) { }
0019 #endif
0020 
0021 #endif /* _ASM_POWERNV_H */