Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176721
b: refs/heads/master
c: 57e6d25
h: refs/heads/master
i:
  176719: 5946c5a
v: v3
  • Loading branch information
Robin Holt authored and Linus Torvalds committed Dec 16, 2009
1 parent 5293031 commit 4639979
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 046d6c563b1c6226bbf0f84e5b2413ad8ab921a1
refs/heads/master: 57e6d258b1e41cd7ceb26fa43ce116939d8440b1
5 changes: 4 additions & 1 deletion trunk/drivers/misc/sgi-xp/xpc_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ xpc_create_gru_mq_uv(unsigned int mq_size, int cpu, char *irq_name,
enum xp_retval xp_ret;
int ret;
int nid;
int nasid;
int pg_order;
struct page *page;
struct xpc_gru_mq_uv *mq;
Expand Down Expand Up @@ -262,9 +263,11 @@ xpc_create_gru_mq_uv(unsigned int mq_size, int cpu, char *irq_name,
goto out_5;
}

nasid = UV_PNODE_TO_NASID(uv_cpu_to_pnode(cpu));

mmr_value = (struct uv_IO_APIC_route_entry *)&mq->mmr_value;
ret = gru_create_message_queue(mq->gru_mq_desc, mq->address, mq_size,
nid, mmr_value->vector, mmr_value->dest);
nasid, mmr_value->vector, mmr_value->dest);
if (ret != 0) {
dev_err(xpc_part, "gru_create_message_queue() returned "
"error=%d\n", ret);
Expand Down

0 comments on commit 4639979

Please sign in to comment.