Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120982
b: refs/heads/master
c: c8182f0
h: refs/heads/master
v: v3
  • Loading branch information
Russ Anderson authored and Ingo Molnar committed Dec 16, 2008
1 parent 88eb0a9 commit 4b6549c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 189f67c4408806563a1f061f5c8bf184a6658477
refs/heads/master: c8182f0016fb65a721c4fbe487909a2d56178135
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/uv/bios.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64);

extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *);
extern s64 uv_bios_freq_base(u64, u64 *);
extern int uv_bios_mq_watchlist_alloc(int, void *, unsigned int,
extern int uv_bios_mq_watchlist_alloc(int, unsigned long, unsigned int,
unsigned long *);
extern int uv_bios_mq_watchlist_free(int, int);
extern s64 uv_bios_change_memprotect(u64, u64, enum uv_memprotect);
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/x86/kernel/bios_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,13 @@ s64 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher,
}

int
uv_bios_mq_watchlist_alloc(int blade, void *mq, unsigned int mq_size,
uv_bios_mq_watchlist_alloc(int blade, unsigned long addr, unsigned int mq_size,
unsigned long *intr_mmr_offset)
{
union uv_watchlist_u size_blade;
unsigned long addr;
u64 watchlist;
s64 ret;

addr = (unsigned long)mq;
size_blade.size = mq_size;
size_blade.blade = blade;

Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/misc/sgi-xp/xpc_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,16 @@ xpc_gru_mq_watchlist_alloc_uv(struct xpc_gru_mq_uv *mq)
int ret;

#if defined CONFIG_X86_64
ret = uv_bios_mq_watchlist_alloc(mq->mmr_blade, mq->address, mq->order,
&mq->mmr_offset);
ret = uv_bios_mq_watchlist_alloc(mq->mmr_blade, uv_gpa(mq->address),
mq->order, &mq->mmr_offset);
if (ret < 0) {
dev_err(xpc_part, "uv_bios_mq_watchlist_alloc() failed, "
"ret=%d\n", ret);
return ret;
}
#elif defined CONFIG_IA64_GENERIC || defined CONFIG_IA64_SGI_UV
ret = sn_mq_watchlist_alloc(mq->mmr_blade, mq->address, mq->order,
&mq->mmr_offset);
ret = sn_mq_watchlist_alloc(mq->mmr_blade, uv_gpa(mq->address),
mq->order, &mq->mmr_offset);
if (ret < 0) {
dev_err(xpc_part, "sn_mq_watchlist_alloc() failed, ret=%d\n",
ret);
Expand Down

0 comments on commit 4b6549c

Please sign in to comment.