Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243583
b: refs/heads/master
c: 7a53a4f
h: refs/heads/master
i:
  243581: f75fddc
  243579: b3a1e53
  243575: b1b9b3e
  243567: a4e8bd2
  243551: 640cefb
  243519: ad9ed42
  243455: 52c587e
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Apr 1, 2011
1 parent aa58976 commit accd190
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 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: b527d07114fdab83f39040c69b4b0a4b1b232c16
refs/heads/master: 7a53a4fe707a93a33f6c5d42173bf213cb6ff71d
1 change: 0 additions & 1 deletion trunk/arch/powerpc/include/asm/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ struct smp_ops_t {
void (*setup_cpu)(int nr);
void (*take_timebase)(void);
void (*give_timebase)(void);
int (*cpu_enable)(unsigned int nr);
int (*cpu_disable)(void);
void (*cpu_die)(unsigned int nr);
int (*cpu_bootable)(unsigned int nr);
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/powerpc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,21 +350,11 @@ void generic_mach_cpu_die(void)
}
#endif

static int __devinit cpu_enable(unsigned int cpu)
{
if (smp_ops && smp_ops->cpu_enable)
return smp_ops->cpu_enable(cpu);

return -ENOSYS;
}

int __cpuinit __cpu_up(unsigned int cpu)
{
int c;

secondary_ti = current_set[cpu];
if (!cpu_enable(cpu))
return 0;

if (smp_ops == NULL ||
(smp_ops->cpu_bootable && !smp_ops->cpu_bootable(cpu)))
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/platforms/powermac/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -923,8 +923,6 @@ struct smp_ops_t core99_smp_ops = {
# if defined(CONFIG_PPC64)
.cpu_disable = generic_cpu_disable,
.cpu_die = generic_cpu_die,
/* intentionally do *NOT* assign cpu_enable,
* the generic code will use kick_cpu then! */
# endif
#endif
};
Expand Down

0 comments on commit accd190

Please sign in to comment.