diff options
author | Tony Luck <tony.luck@intel.com> | 2008-04-17 13:13:57 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-04-17 13:13:57 -0400 |
commit | f4df39cbdd9e9ab615e80148cc271db22a8508ad (patch) | |
tree | 312fcf9de1154c85782c121a46fa2952f9812292 /arch/ia64/kernel/setup.c | |
parent | a49072bb367a94a9af6c6a6dcbaa1dc5617d7fa0 (diff) | |
parent | a6c75b86ce9f01db4ea9912877b526c2dc4d2f0a (diff) |
Pull nptcg into release branch
Conflicts:
arch/ia64/mm/tlb.c
Diffstat (limited to 'arch/ia64/kernel/setup.c')
-rw-r--r-- | arch/ia64/kernel/setup.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 6206541f9e8..b86a072418a 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -59,6 +59,7 @@ | |||
59 | #include <asm/setup.h> | 59 | #include <asm/setup.h> |
60 | #include <asm/smp.h> | 60 | #include <asm/smp.h> |
61 | #include <asm/system.h> | 61 | #include <asm/system.h> |
62 | #include <asm/tlbflush.h> | ||
62 | #include <asm/unistd.h> | 63 | #include <asm/unistd.h> |
63 | #include <asm/hpsim.h> | 64 | #include <asm/hpsim.h> |
64 | 65 | ||
@@ -948,9 +949,10 @@ cpu_init (void) | |||
948 | #endif | 949 | #endif |
949 | 950 | ||
950 | /* set ia64_ctx.max_rid to the maximum RID that is supported by all CPUs: */ | 951 | /* set ia64_ctx.max_rid to the maximum RID that is supported by all CPUs: */ |
951 | if (ia64_pal_vm_summary(NULL, &vmi) == 0) | 952 | if (ia64_pal_vm_summary(NULL, &vmi) == 0) { |
952 | max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; | 953 | max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; |
953 | else { | 954 | setup_ptcg_sem(vmi.pal_vm_info_2_s.max_purges, NPTCG_FROM_PAL); |
955 | } else { | ||
954 | printk(KERN_WARNING "cpu_init: PAL VM summary failed, assuming 18 RID bits\n"); | 956 | printk(KERN_WARNING "cpu_init: PAL VM summary failed, assuming 18 RID bits\n"); |
955 | max_ctx = (1U << 15) - 1; /* use architected minimum */ | 957 | max_ctx = (1U << 15) - 1; /* use architected minimum */ |
956 | } | 958 | } |