Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251384
b: refs/heads/master
c: 44491fb
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger committed May 25, 2011
1 parent 43a945b commit 0686494
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 8d011f70b08f563b007743fd446a6022f0329cd4
refs/heads/master: 44491fbc5a228f3c2e61d842fd9fee0bfb839373
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ void __cpuinit bfin_setup_caches(unsigned int cpu)
bfin_dcache_init(dcplb_tbl[cpu]);
#endif

bfin_setup_cpudata(cpu);

/*
* In cache coherence emulation mode, we need to have the
* D-cache enabled before running any atomic operation which
Expand Down Expand Up @@ -1036,8 +1038,6 @@ void __init setup_arch(char **cmdline_p)
static int __init topology_init(void)
{
unsigned int cpu;
/* Record CPU-private information for the boot processor. */
bfin_setup_cpudata(0);

for_each_possible_cpu(cpu) {
register_cpu(&per_cpu(cpu_data, cpu).cpu, cpu);
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/blackfin/mach-bf561/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
bfin_write_SICB_IWR1(IWR_DISABLE_ALL);
SSYNC();

/* Store CPU-private information to the cpu_data array. */
bfin_setup_cpudata(cpu);

/* We are done with local CPU inits, unblock the boot CPU. */
set_cpu_online(cpu, true);
spin_lock(&boot_lock);
Expand Down

0 comments on commit 0686494

Please sign in to comment.