]> err.no Git - linux-2.6/commit
[SPARC64]: Fix off-by-1 error in TSB grow check.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Mar 2006 09:07:55 +0000 (01:07 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 27 Mar 2006 09:07:55 +0000 (01:07 -0800)
commit7bebd83dbf096d0bf4b4bfbaf5d8844a05f5eafc
treeea583040c5d9fbd8d72e7b9bfa831c9f7b553a5e
parent5d5d7727a8cde78f798ecf04bac8031eff536f9d
[SPARC64]: Fix off-by-1 error in TSB grow check.

The worst part about this bug is what it would cause
a hugepage TSB to be allocated for every address space
since "0 >= 0".

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/fault.c