diff options
Diffstat (limited to 'arch/blackfin/kernel/cplb-nompu')
-rw-r--r-- | arch/blackfin/kernel/cplb-nompu/cplbinit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c index e14c37e..735413d 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c @@ -425,10 +425,10 @@ void __init generate_cplb_tables_cpu(unsigned int cpu) BUG_ON(cplb.init_d.pos < 1 + cplb_data[ZERO_P].valid + cplb_data[L1D_MEM].valid); /* make sure we didnt overflow the table */ - BUG_ON(cplb.init_i.size <= cplb.init_i.pos); - BUG_ON(cplb.init_d.size <= cplb.init_d.pos); - BUG_ON(cplb.switch_i.size <= cplb.switch_i.pos); - BUG_ON(cplb.switch_d.size <= cplb.switch_d.pos); + BUG_ON(cplb.init_i.size < cplb.init_i.pos); + BUG_ON(cplb.init_d.size < cplb.init_d.pos); + BUG_ON(cplb.switch_i.size < cplb.switch_i.pos); + BUG_ON(cplb.switch_d.size < cplb.switch_d.pos); /* close tables */ close_cplbtab(&cplb.init_i); |