Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67621
b: refs/heads/master
c: 11b8bf0
h: refs/heads/master
i:
  67619: 444d87d
v: v3
  • Loading branch information
Satyam Sharma authored and Martin Schwidefsky committed Oct 12, 2007
1 parent 6498dc2 commit a6a9e15
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 2af48080e100d66db8f086af70a70713a953a83d
refs/heads/master: 11b8bf0107e688434b9e0570fd05e7c715534f3b
11 changes: 6 additions & 5 deletions trunk/arch/s390/appldata/appldata_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,7 @@ static void __cpuinit appldata_online_cpu(int cpu)
spin_unlock(&appldata_timer_lock);
}

static void
appldata_offline_cpu(int cpu)
static void __cpuexit appldata_offline_cpu(int cpu)
{
del_virt_timer(&per_cpu(appldata_timer, cpu));
if (atomic_dec_and_test(&appldata_expire_count)) {
Expand All @@ -560,9 +559,9 @@ appldata_offline_cpu(int cpu)
spin_unlock(&appldata_timer_lock);
}

static int __cpuinit
appldata_cpu_notify(struct notifier_block *self,
unsigned long action, void *hcpu)
static int __cpuinit appldata_cpu_notify(struct notifier_block *self,
unsigned long action,
void *hcpu)
{
switch (action) {
case CPU_ONLINE:
Expand Down Expand Up @@ -646,6 +645,8 @@ static void __exit appldata_exit(void)
}
spin_unlock(&appldata_ops_lock);

unregister_hotcpu_notifier(&appldata_nb);

for_each_online_cpu(i)
appldata_offline_cpu(i);

Expand Down

0 comments on commit a6a9e15

Please sign in to comment.