|
@@ -22,6 +22,8 @@ extern void pnv_npu2_destroy_context(struct npu_context *context,
|
|
extern int pnv_npu2_handle_fault(struct npu_context *context, uintptr_t *ea,
|
|
extern int pnv_npu2_handle_fault(struct npu_context *context, uintptr_t *ea,
|
|
unsigned long *flags, unsigned long *status,
|
|
unsigned long *flags, unsigned long *status,
|
|
int count);
|
|
int count);
|
|
|
|
+
|
|
|
|
+void pnv_tm_init(void);
|
|
#else
|
|
#else
|
|
static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
|
|
static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { }
|
|
static inline struct npu_context *pnv_npu2_init_context(struct pci_dev *gpdev,
|
|
static inline struct npu_context *pnv_npu2_init_context(struct pci_dev *gpdev,
|
|
@@ -36,6 +38,8 @@ static inline int pnv_npu2_handle_fault(struct npu_context *context,
|
|
unsigned long *status, int count) {
|
|
unsigned long *status, int count) {
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+static inline void pnv_tm_init(void) { }
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#endif /* _ASM_POWERNV_H */
|
|
#endif /* _ASM_POWERNV_H */
|