diff options
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index ea391ffc8711..0ef9a67112a8 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -1860,4 +1860,12 @@ static inline int ipr_sdt_is_fmt2(u32 sdt_word) | |||
1860 | return 0; | 1860 | return 0; |
1861 | } | 1861 | } |
1862 | 1862 | ||
1863 | #ifndef writeq | ||
1864 | static inline void writeq(u64 val, void __iomem *addr) | ||
1865 | { | ||
1866 | writel(((u32) (val >> 32)), addr); | ||
1867 | writel(((u32) (val)), (addr + 4)); | ||
1868 | } | ||
1863 | #endif | 1869 | #endif |
1870 | |||
1871 | #endif /* _IPR_H */ | ||