-static inline int
-sn_inject_error(u64 paddr, u64 *data, u64 *ecc)
-{
- struct ia64_sal_retval ret_stuff;
- unsigned long irq_flags;
-
- local_irq_save(irq_flags);
- ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_INJECT_ERROR, paddr, (u64)data,
- (u64)ecc, 0, 0, 0, 0);
- local_irq_restore(irq_flags);
- return ret_stuff.status;
-}