Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116764
b: refs/heads/master
c: 4d4230c
h: refs/heads/master
v: v3
  • Loading branch information
Tony Luck committed Oct 17, 2008
1 parent 4d384ce commit daafff3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f32dc9dc2cfe3e4608fd5cf7afa5d2acb6e3c10
refs/heads/master: 4d4230c27f380745b7fc30c0906402eede3b2cff
2 changes: 1 addition & 1 deletion trunk/arch/ia64/include/asm/kregs.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define IA64_TR_CURRENT_STACK 1 /* dtr1: maps kernel's memory- & register-stacks */

#define IA64_TR_ALLOC_BASE 2 /* itr&dtr: Base of dynamic TR resource*/
#define IA64_TR_ALLOC_MAX 32 /* Max number for dynamic use*/
#define IA64_TR_ALLOC_MAX 64 /* Max number for dynamic use*/

/* Processor status register bits: */
#define IA64_PSR_BE_BIT 1
Expand Down
8 changes: 6 additions & 2 deletions trunk/arch/ia64/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,13 @@ ia64_tlb_init (void)
per_cpu(ia64_tr_num, cpu) =
vm_info_1.pal_vm_info_1_s.max_dtr_entry+1;
if (per_cpu(ia64_tr_num, cpu) > IA64_TR_ALLOC_MAX) {
static int justonce = 1;
per_cpu(ia64_tr_num, cpu) = IA64_TR_ALLOC_MAX;
printk(KERN_DEBUG "TR register number exceeds IA64_TR_ALLOC_MAX!"
"IA64_TR_ALLOC_MAX should be extended\n");
if (justonce) {
justonce = 0;
printk(KERN_DEBUG "TR register number exceeds "
"IA64_TR_ALLOC_MAX!\n");
}
}
}

Expand Down

0 comments on commit daafff3

Please sign in to comment.