Merge branch 'regset' (PTRACE_SETREGSET data leakage)
[sfrench/cifs-2.6.git] / arch / powerpc / include / asm / powernv.h
1 /*
2  * Copyright 2017 IBM Corp.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version
7  * 2 of the License, or (at your option) any later version.
8  */
9
10 #ifndef _ASM_POWERNV_H
11 #define _ASM_POWERNV_H
12
13 #ifdef CONFIG_PPC_POWERNV
14 extern void powernv_set_nmmu_ptcr(unsigned long ptcr);
15 #else
16 static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
17 #endif
18
19 #endif /* _ASM_POWERNV_H */