diff options
Diffstat (limited to 'arch/powerpc/mm/icswx.h')
-rw-r--r-- | arch/powerpc/mm/icswx.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/mm/icswx.h b/arch/powerpc/mm/icswx.h index 42176bd0884c..6dedc08e62c8 100644 --- a/arch/powerpc/mm/icswx.h +++ b/arch/powerpc/mm/icswx.h | |||
@@ -59,4 +59,10 @@ extern void free_cop_pid(int free_pid); | |||
59 | 59 | ||
60 | extern int acop_handle_fault(struct pt_regs *regs, unsigned long address, | 60 | extern int acop_handle_fault(struct pt_regs *regs, unsigned long address, |
61 | unsigned long error_code); | 61 | unsigned long error_code); |
62 | |||
63 | static inline u64 acop_copro_type_bit(unsigned int type) | ||
64 | { | ||
65 | return 1ULL << (63 - type); | ||
66 | } | ||
67 | |||
62 | #endif /* !_ARCH_POWERPC_MM_ICSWX_H_ */ | 68 | #endif /* !_ARCH_POWERPC_MM_ICSWX_H_ */ |