diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-09-28 12:00:15 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-28 14:16:57 -0400 |
commit | 957670a57eb63b932b09b444ad44192ad9ee9382 (patch) | |
tree | 915a2c61198f96fc8c479b9af827742bfdf3885f /drivers/infiniband/hw/ipath/ipath_kernel.h | |
parent | 8d0208cb59a43bf867e16b977c34c4d6cd618f59 (diff) |
IB/ipath: Call mtrr_del with correct arguments
We were passing 0 for base and length, which worked on older kernels,
but it doesn't seem to any longer.
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_kernel.h')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_kernel.h b/drivers/infiniband/hw/ipath/ipath_kernel.h index 2a0e9a430634..02134cb3e944 100644 --- a/drivers/infiniband/hw/ipath/ipath_kernel.h +++ b/drivers/infiniband/hw/ipath/ipath_kernel.h | |||
@@ -336,6 +336,8 @@ struct ipath_devdata { | |||
336 | u8 ipath_ht_slave_off; | 336 | u8 ipath_ht_slave_off; |
337 | /* for write combining settings */ | 337 | /* for write combining settings */ |
338 | unsigned long ipath_wc_cookie; | 338 | unsigned long ipath_wc_cookie; |
339 | unsigned long ipath_wc_base; | ||
340 | unsigned long ipath_wc_len; | ||
339 | /* ref count for each pkey */ | 341 | /* ref count for each pkey */ |
340 | atomic_t ipath_pkeyrefs[4]; | 342 | atomic_t ipath_pkeyrefs[4]; |
341 | /* shadow copy of all exptids physaddr; used only by funcsim */ | 343 | /* shadow copy of all exptids physaddr; used only by funcsim */ |