Commit 9a6c05fe authored by Michael Ellerman's avatar Michael Ellerman

powerpc/pseries: Move hcall_vphn() prototype into vphn.h

Consolidate the two prototypes for hcall_vphn() into vphn.h.
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230823055317.751786-2-mpe@ellerman.id.au
parent c040c748
...@@ -39,6 +39,5 @@ extern rwlock_t dtl_access_lock; ...@@ -39,6 +39,5 @@ extern rwlock_t dtl_access_lock;
extern void register_dtl_buffer(int cpu); extern void register_dtl_buffer(int cpu);
extern void alloc_dtl_buffers(unsigned long *time_limit); extern void alloc_dtl_buffers(unsigned long *time_limit);
extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
#endif /* _ASM_POWERPC_DTL_H */ #endif /* _ASM_POWERPC_DTL_H */
...@@ -127,8 +127,6 @@ struct slb_shadow { ...@@ -127,8 +127,6 @@ struct slb_shadow {
} save_area[SLB_NUM_BOLTED]; } save_area[SLB_NUM_BOLTED];
} ____cacheline_aligned; } ____cacheline_aligned;
extern long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
#endif /* CONFIG_PPC_BOOK3S */ #endif /* CONFIG_PPC_BOOK3S */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_LPPACA_H */ #endif /* _ASM_POWERPC_LPPACA_H */
...@@ -19,4 +19,6 @@ ...@@ -19,4 +19,6 @@
#define VPHN_FLAG_VCPU 1 #define VPHN_FLAG_VCPU 1
#define VPHN_FLAG_PCPU 2 #define VPHN_FLAG_PCPU 2
long hcall_vphn(unsigned long cpu, u64 flags, __be32 *associativity);
#endif // _ASM_POWERPC_VPHN_H #endif // _ASM_POWERPC_VPHN_H
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment