diff options
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_uv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/misc/sgi-xp/xpc_uv.c b/drivers/misc/sgi-xp/xpc_uv.c index 684b2dd17583..91a55b1b1037 100644 --- a/drivers/misc/sgi-xp/xpc_uv.c +++ b/drivers/misc/sgi-xp/xpc_uv.c | |||
@@ -119,16 +119,16 @@ xpc_gru_mq_watchlist_alloc_uv(struct xpc_gru_mq_uv *mq) | |||
119 | int ret; | 119 | int ret; |
120 | 120 | ||
121 | #if defined CONFIG_X86_64 | 121 | #if defined CONFIG_X86_64 |
122 | ret = uv_bios_mq_watchlist_alloc(mq->mmr_blade, mq->address, mq->order, | 122 | ret = uv_bios_mq_watchlist_alloc(mq->mmr_blade, uv_gpa(mq->address), |
123 | &mq->mmr_offset); | 123 | mq->order, &mq->mmr_offset); |
124 | if (ret < 0) { | 124 | if (ret < 0) { |
125 | dev_err(xpc_part, "uv_bios_mq_watchlist_alloc() failed, " | 125 | dev_err(xpc_part, "uv_bios_mq_watchlist_alloc() failed, " |
126 | "ret=%d\n", ret); | 126 | "ret=%d\n", ret); |
127 | return ret; | 127 | return ret; |
128 | } | 128 | } |
129 | #elif defined CONFIG_IA64_GENERIC || defined CONFIG_IA64_SGI_UV | 129 | #elif defined CONFIG_IA64_GENERIC || defined CONFIG_IA64_SGI_UV |
130 | ret = sn_mq_watchlist_alloc(mq->mmr_blade, mq->address, mq->order, | 130 | ret = sn_mq_watchlist_alloc(mq->mmr_blade, uv_gpa(mq->address), |
131 | &mq->mmr_offset); | 131 | mq->order, &mq->mmr_offset); |
132 | if (ret < 0) { | 132 | if (ret < 0) { |
133 | dev_err(xpc_part, "sn_mq_watchlist_alloc() failed, ret=%d\n", | 133 | dev_err(xpc_part, "sn_mq_watchlist_alloc() failed, ret=%d\n", |
134 | ret); | 134 | ret); |