diff options
Diffstat (limited to 'arch/ia64/mm/tlb.c')
-rw-r--r-- | arch/ia64/mm/tlb.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/ia64/mm/tlb.c b/arch/ia64/mm/tlb.c index 8caf42471f0d..bd9818a36b47 100644 --- a/arch/ia64/mm/tlb.c +++ b/arch/ia64/mm/tlb.c | |||
@@ -362,9 +362,13 @@ ia64_tlb_init (void) | |||
362 | per_cpu(ia64_tr_num, cpu) = | 362 | per_cpu(ia64_tr_num, cpu) = |
363 | vm_info_1.pal_vm_info_1_s.max_dtr_entry+1; | 363 | vm_info_1.pal_vm_info_1_s.max_dtr_entry+1; |
364 | if (per_cpu(ia64_tr_num, cpu) > IA64_TR_ALLOC_MAX) { | 364 | if (per_cpu(ia64_tr_num, cpu) > IA64_TR_ALLOC_MAX) { |
365 | static int justonce = 1; | ||
365 | per_cpu(ia64_tr_num, cpu) = IA64_TR_ALLOC_MAX; | 366 | per_cpu(ia64_tr_num, cpu) = IA64_TR_ALLOC_MAX; |
366 | printk(KERN_DEBUG "TR register number exceeds IA64_TR_ALLOC_MAX!" | 367 | if (justonce) { |
367 | "IA64_TR_ALLOC_MAX should be extended\n"); | 368 | justonce = 0; |
369 | printk(KERN_DEBUG "TR register number exceeds " | ||
370 | "IA64_TR_ALLOC_MAX!\n"); | ||
371 | } | ||
368 | } | 372 | } |
369 | } | 373 | } |
370 | 374 | ||