[IA64] bugfix: nptcg breaks cpu-hotadd
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Fri, 25 Apr 2008 14:13:09 +0000 (23:13 +0900)
committerTony Luck <tony.luck@intel.com>
Tue, 29 Apr 2008 20:47:45 +0000 (13:47 -0700)
commite617fce64e5faea149fcf3bffc1b42e4ba29e7e5
tree23a3f38995e55bbcbb79c93aa7504acd12f9dd4e
parent7663c1e2792a9662b23dec6e19bfcd3d55360b8f
[IA64] bugfix: nptcg breaks cpu-hotadd

If "max_purges" from PAL is 0, it actually means 1.

However it was not handled later when a hot-added cpu pass the
max_purges from PAL.  This makes systems easy to go BUG_ON().

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/mm/tlb.c