Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11496
b: refs/heads/master
c: b6b8681
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell committed Sep 27, 2005
1 parent 9a8a308 commit ea8f01b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 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: ed7f2c05de956da72baf066701ac642f7215dbf5
refs/heads/master: b6b8681843f9eaee12f8c30ffac399f7b2601ab3
1 change: 1 addition & 0 deletions trunk/arch/powerpc/platforms/iseries/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o mf.o lpevents.o \
hvcall.o proc.o htab.o iommu.o
obj-$(CONFIG_PCI) += pci.o irq.o vpdinfo.o
obj-$(CONFIG_IBMVIO) += vio.o
obj-$(CONFIG_SMP) += smp.o
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@

static unsigned long iSeries_smp_message[NR_CPUS];

void iSeries_smp_message_recv( struct pt_regs * regs )
void iSeries_smp_message_recv(struct pt_regs *regs)
{
int cpu = smp_processor_id();
int msg;

if ( num_online_cpus() < 2 )
if (num_online_cpus() < 2)
return;

for ( msg = 0; msg < 4; ++msg )
if ( test_and_clear_bit( msg, &iSeries_smp_message[cpu] ) )
smp_message_recv( msg, regs );
for (msg = 0; msg < 4; msg++)
if (test_and_clear_bit(msg, &iSeries_smp_message[cpu]))
smp_message_recv(msg, regs);
}

static inline void smp_iSeries_do_message(int cpu, int msg)
Expand All @@ -74,8 +74,8 @@ static void smp_iSeries_message_pass(int target, int msg)
smp_iSeries_do_message(target, msg);
else {
for_each_online_cpu(i) {
if (target == MSG_ALL_BUT_SELF
&& i == smp_processor_id())
if ((target == MSG_ALL_BUT_SELF) &&
(i == smp_processor_id()))
continue;
smp_iSeries_do_message(i, msg);
}
Expand All @@ -89,7 +89,7 @@ static int smp_iSeries_probe(void)

static void smp_iSeries_kick_cpu(int nr)
{
BUG_ON(nr < 0 || nr >= NR_CPUS);
BUG_ON((nr < 0) || (nr >= NR_CPUS));

/* Verify that our partition has a processor nr */
if (paca[nr].lppaca.dyn_proc_status >= 2)
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/ppc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ obj-$(CONFIG_U3_DART) += u3_iommu.o

ifdef CONFIG_SMP
obj-$(CONFIG_PPC_PMAC) += pmac_smp.o smp-tbsync.o
obj-$(CONFIG_PPC_ISERIES) += iSeries_smp.o
obj-$(CONFIG_PPC_PSERIES) += pSeries_smp.o
obj-$(CONFIG_PPC_BPA) += pSeries_smp.o
obj-$(CONFIG_PPC_MAPLE) += smp-tbsync.o
Expand Down

0 comments on commit ea8f01b

Please sign in to comment.