diff options
author | Eric Moore <eric.moore@lsil.com> | 2007-01-04 22:46:54 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-06 10:31:58 -0500 |
commit | f99be43b3024f2dd054f2addd54a318eabee2018 (patch) | |
tree | 7032ee5ede603703b36d627836c53a8851407bfd /drivers/message/fusion/mptbase.h | |
parent | 86dd424266530cda55258b2b33d04c23a88b9a9c (diff) |
[SCSI] fusion: power pc and miscellaneous bug fixs
* Endian fix's for warnings found in ppc environment.
* Fix compile time warning when calling scsi_device_reprobe, where
in newer kernels this API expects its return value to be examined.
* Fix compile errors when debug messages are enabled.
Signed-off-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index a4afad4ecab2..da82de65dbc5 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -1059,7 +1059,7 @@ extern int mpt_stm_index; /* needed by mptstm.c */ | |||
1059 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 1059 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
1060 | #endif /* } __KERNEL__ */ | 1060 | #endif /* } __KERNEL__ */ |
1061 | 1061 | ||
1062 | #if defined(__alpha__) || defined(__sparc_v9__) || defined(__ia64__) || defined(__x86_64__) | 1062 | #if defined(__alpha__) || defined(__sparc_v9__) || defined(__ia64__) || defined(__x86_64__) || defined(__powerpc__) |
1063 | #define CAST_U32_TO_PTR(x) ((void *)(u64)x) | 1063 | #define CAST_U32_TO_PTR(x) ((void *)(u64)x) |
1064 | #define CAST_PTR_TO_U32(x) ((u32)(u64)x) | 1064 | #define CAST_PTR_TO_U32(x) ((u32)(u64)x) |
1065 | #else | 1065 | #else |