Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127057
b: refs/heads/master
c: 3831638
h: refs/heads/master
i:
  127055: f3cdbda
v: v3
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Nov 18, 2008
1 parent dd3db1c commit ce306ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 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: 4c5b8a648ff0e6bda853cc4094cb7e962ebd8d1d
refs/heads/master: 383163826012d70da070bedd432a74bb8d915315
18 changes: 6 additions & 12 deletions trunk/arch/blackfin/kernel/cplb-nompu/cplbinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include <linux/module.h>

#include <asm/blackfin.h>
Expand Down Expand Up @@ -169,7 +170,7 @@ static bool __init lock_kernel_check(u32 start, u32 end)
return true;
}

static unsigned short __init
static void __init
fill_cplbtab(struct cplb_tab *table,
unsigned long start, unsigned long end,
unsigned long block_size, unsigned long cplb_data)
Expand Down Expand Up @@ -206,19 +207,12 @@ fill_cplbtab(struct cplb_tab *table,

start += block_size;
}
return 0;
}

static unsigned short __init
close_cplbtab(struct cplb_tab *table)
static void __init close_cplbtab(struct cplb_tab *table)
{

while (table->pos < table->size) {

while (table->pos < table->size)
table->tab[table->pos++] = 0;
table->tab[table->pos++] = 0; /* !CPLB_VALID */
}
return 0;
}

/* helper function */
Expand Down Expand Up @@ -426,7 +420,7 @@ void __init generate_cplb_tables_cpu(unsigned int cpu)
}
}

/* close tables */
/* close tables */

close_cplbtab(&cplb.init_i);
close_cplbtab(&cplb.init_d);
Expand All @@ -437,5 +431,5 @@ void __init generate_cplb_tables_cpu(unsigned int cpu)
cplb.switch_d.tab[cplb.switch_d.pos] = -1;

}
#endif

#endif

0 comments on commit ce306ee

Please sign in to comment.