mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
sh: Fix compile error of arch/sh/mm/pmb.c
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
a23ba43573
commit
53ff09422e
@ -305,7 +305,7 @@ static void pmb_cache_ctor(struct kmem_cache *cachep, void *pmb)
|
|||||||
static int __init pmb_init(void)
|
static int __init pmb_init(void)
|
||||||
{
|
{
|
||||||
unsigned int nr_entries = ARRAY_SIZE(pmb_init_map);
|
unsigned int nr_entries = ARRAY_SIZE(pmb_init_map);
|
||||||
unsigned int entry;
|
unsigned int entry, i;
|
||||||
|
|
||||||
BUG_ON(unlikely(nr_entries >= NR_PMB_ENTRIES));
|
BUG_ON(unlikely(nr_entries >= NR_PMB_ENTRIES));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user