Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135655
b: refs/heads/master
c: 6d54c5a
h: refs/heads/master
i:
  135653: 725e7da
  135651: 7c2b1ce
  135647: b595350
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Mar 26, 2009
1 parent 749420e commit 7734e38
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 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: 008d2d112cb8a743a87dfe41a67e11c0a4c73aa4
refs/heads/master: 6d54c5a3fb13d32d66a8383cb0b5fb422a563051
6 changes: 3 additions & 3 deletions trunk/arch/s390/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ static int __cpuinit smp_alloc_lowcore(int cpu)
return -ENOMEM;
}

#ifdef CONFIG_HOTPLUG_CPU
static void smp_free_lowcore(int cpu)
{
struct _lowcore *lowcore;
Expand All @@ -527,7 +526,6 @@ static void smp_free_lowcore(int cpu)
free_pages((unsigned long) lowcore, lc_order);
lowcore_ptr[cpu] = NULL;
}
#endif /* CONFIG_HOTPLUG_CPU */

/* Upping and downing of CPUs */
int __cpuinit __cpu_up(unsigned int cpu)
Expand All @@ -544,8 +542,10 @@ int __cpuinit __cpu_up(unsigned int cpu)

ccode = signal_processor_p((__u32)(unsigned long)(lowcore_ptr[cpu]),
cpu, sigp_set_prefix);
if (ccode)
if (ccode) {
smp_free_lowcore(cpu);
return -EIO;
}

idle = current_set[cpu];
cpu_lowcore = lowcore_ptr[cpu];
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/s390/kernel/vdso.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ int vdso_alloc_per_cpu(int cpu, struct _lowcore *lowcore)
return -ENOMEM;
}

#ifdef CONFIG_HOTPLUG_CPU
void vdso_free_per_cpu(int cpu, struct _lowcore *lowcore)
{
unsigned long segment_table, page_table, page_frame;
Expand All @@ -163,7 +162,6 @@ void vdso_free_per_cpu(int cpu, struct _lowcore *lowcore)
free_page(page_table);
free_pages(segment_table, SEGMENT_ORDER);
}
#endif /* CONFIG_HOTPLUG_CPU */

static void __vdso_init_cr5(void *dummy)
{
Expand Down

0 comments on commit 7734e38

Please sign in to comment.