Skip to content

Commit

Permalink
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/gi…
Browse files Browse the repository at this point in the history
…t/cmetcalf/linux-tile

Pull arch/tile fixes from Chris Metcalf:
 "This is one important change from Srivatsa Bhat that got dropped when
  I put together my pull request for -rc2, plus a trivial change to
  remove a compiler warning."

* 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
  arch/tile: avoid unused variable warning in proc.c for tilegx
  tile/CPU hotplug: Add missing call to notify_cpu_starting()
  • Loading branch information
Linus Torvalds committed Apr 11, 2012
2 parents a1ada08 + e72d5c7 commit 70f33fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions arch/tile/kernel/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ static ctl_table unaligned_table[] = {
},
{}
};
#endif

static struct ctl_path tile_path[] = {
{ .procname = "tile" },
Expand All @@ -155,10 +154,9 @@ static struct ctl_path tile_path[] = {

static int __init proc_sys_tile_init(void)
{
#ifndef __tilegx__ /* FIXME: GX: no support for unaligned access yet */
register_sysctl_paths(tile_path, unaligned_table);
#endif
return 0;
}

arch_initcall(proc_sys_tile_init);
#endif
2 changes: 2 additions & 0 deletions arch/tile/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ void __cpuinit online_secondary(void)
/* This must be done before setting cpu_online_mask */
wmb();

notify_cpu_starting(smp_processor_id());

/*
* We need to hold call_lock, so there is no inconsistency
* between the time smp_call_function() determines number of
Expand Down

0 comments on commit 70f33fa

Please sign in to comment.