···7070#define HWCAP_SPARC_V9 167171#define HWCAP_SPARC_ULTRA3 327272#define HWCAP_SPARC_BLKINIT 647373+#define HWCAP_SPARC_N2 12873747475/*7576 * These are used to set parameters in the core dumps.···156155157156 if (tlb_type == cheetah || tlb_type == cheetah_plus)158157 cap |= HWCAP_SPARC_ULTRA3;159159- else if (tlb_type == hypervisor)160160- cap |= HWCAP_SPARC_BLKINIT;158158+ else if (tlb_type == hypervisor) {159159+ if (sun4v_chip_type == SUN4V_CHIP_NIAGARA1 ||160160+ sun4v_chip_type == SUN4V_CHIP_NIAGARA2)161161+ cap |= HWCAP_SPARC_BLKINIT;162162+ if (sun4v_chip_type == SUN4V_CHIP_NIAGARA2)163163+ cap |= HWCAP_SPARC_N2;164164+ }161165162166 return cap;163167}