Skip to content

Commit 9a6c05f

Browse files
committed
powerpc/pseries: Move hcall_vphn() prototype into vphn.h
Consolidate the two prototypes for hcall_vphn() into vphn.h. Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
1 parent c040c74 commit 9a6c05f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

arch/powerpc/include/asm/dtl.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ extern rwlock_t dtl_access_lock;
3939

4040
extern void register_dtl_buffer(int cpu);
4141
extern void alloc_dtl_buffers(unsigned long *time_limit);
42-
extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
4342

4443
#endif /* _ASM_POWERPC_DTL_H */

arch/powerpc/include/asm/lppaca.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ struct slb_shadow {
127127
} save_area[SLB_NUM_BOLTED];
128128
} ____cacheline_aligned;
129129

130-
extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
131-
132130
#endif /* CONFIG_PPC_BOOK3S */
133131
#endif /* __KERNEL__ */
134132
#endif /* _ASM_POWERPC_LPPACA_H */

arch/powerpc/include/asm/vphn.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919
#define VPHN_FLAG_VCPU 1
2020
#define VPHN_FLAG_PCPU 2
2121

22+
long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
23+
2224
#endif // _ASM_POWERPC_VPHN_H

0 commit comments

Comments
 (0)