Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60565
b: refs/heads/master
c: 7961f20
h: refs/heads/master
i:
  60563: c01fc58
v: v3
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Jun 28, 2007
1 parent 6dd844d commit 94aaea3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 6deac06612d2935b917550db2bc8a8b3f7c7aeb5
refs/heads/master: 7961f20c09af4524266a808fed3695c4dcc98e59
12 changes: 6 additions & 6 deletions trunk/arch/powerpc/platforms/ps3/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ static irqreturn_t ipi_function_handler(int irq, void *msg)
}

/**
* virqs - a per cpu array of virqs for ipi use
* ps3_ipi_virqs - a per cpu array of virqs for ipi use
*/

#define MSG_COUNT 4
static DEFINE_PER_CPU(unsigned int, virqs[MSG_COUNT]);
static DEFINE_PER_CPU(unsigned int, ps3_ipi_virqs[MSG_COUNT]);

static const char *names[MSG_COUNT] = {
"ipi call",
Expand All @@ -62,7 +62,7 @@ static void do_message_pass(int target, int msg)
return;
}

virq = per_cpu(virqs, target)[msg];
virq = per_cpu(ps3_ipi_virqs, target)[msg];
result = ps3_send_event_locally(virq);

if (result)
Expand Down Expand Up @@ -94,13 +94,13 @@ static int ps3_smp_probe(void)
static void __init ps3_smp_setup_cpu(int cpu)
{
int result;
unsigned int *virqs = per_cpu(virqs, cpu);
unsigned int *virqs = per_cpu(ps3_ipi_virqs, cpu);
int i;

DBG(" -> %s:%d: (%d)\n", __func__, __LINE__, cpu);

/*
* Check assumptions on virqs[] indexing. If this
* Check assumptions on ps3_ipi_virqs[] indexing. If this
* check fails, then a different mapping of PPC_MSG_
* to index needs to be setup.
*/
Expand Down Expand Up @@ -132,7 +132,7 @@ static void __init ps3_smp_setup_cpu(int cpu)

void ps3_smp_cleanup_cpu(int cpu)
{
unsigned int *virqs = per_cpu(virqs, cpu);
unsigned int *virqs = per_cpu(ps3_ipi_virqs, cpu);
int i;

DBG(" -> %s:%d: (%d)\n", __func__, __LINE__, cpu);
Expand Down

0 comments on commit 94aaea3

Please sign in to comment.