diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-05-11 14:44:27 +0200 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 14:44:31 +0200 | 
| commit | 41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51 (patch) | |
| tree | 51c50bcb67a5039448ddfa1869d7948cab1217e9 /arch/powerpc/kernel/cputable.c | |
| parent | 19c1a6f5764d787113fa323ffb18be7991208f82 (diff) | |
| parent | 091bf7624d1c90cec9e578a18529f615213ff847 (diff) | |
Merge commit 'v2.6.30-rc5' into core/iommu
Merge reason: core/iommu was on an .30-rc1 base,
              update it to .30-rc5 to refresh.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/kernel/cputable.c')
| -rw-r--r-- | arch/powerpc/kernel/cputable.c | 15 | 
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index cd1b687544f..f9c40f869c6 100644 --- a/arch/powerpc/kernel/cputable.c +++ b/arch/powerpc/kernel/cputable.c @@ -382,7 +382,8 @@ static struct cpu_spec __initdata cpu_specs[] = {  		.icache_bsize		= 128,  		.dcache_bsize		= 128,  		.machine_check		= machine_check_generic, -		.oprofile_cpu_type	= "ppc64/compat-power5+", +		.oprofile_cpu_type	= "ppc64/ibm-compat-v1", +		.oprofile_type		= PPC_OPROFILE_POWER4,  		.platform		= "power5+",  	},  	{	/* Power6 */ @@ -416,7 +417,8 @@ static struct cpu_spec __initdata cpu_specs[] = {  		.icache_bsize		= 128,  		.dcache_bsize		= 128,  		.machine_check		= machine_check_generic, -		.oprofile_cpu_type	= "ppc64/compat-power6", +		.oprofile_cpu_type	= "ppc64/ibm-compat-v1", +		.oprofile_type		= PPC_OPROFILE_POWER4,  		.platform		= "power6",  	},  	{	/* 2.06-compliant processor, i.e. Power7 "architected" mode */ @@ -429,7 +431,8 @@ static struct cpu_spec __initdata cpu_specs[] = {  		.icache_bsize		= 128,  		.dcache_bsize		= 128,  		.machine_check		= machine_check_generic, -		.oprofile_cpu_type	= "ppc64/compat-power7", +		.oprofile_type		= PPC_OPROFILE_POWER4, +		.oprofile_cpu_type	= "ppc64/ibm-compat-v1",  		.platform		= "power7",  	},  	{	/* Power7 */ @@ -1833,8 +1836,10 @@ static void __init setup_cpu_spec(unsigned long offset, struct cpu_spec *s)  		 * and, in that case, keep the current value for  		 * oprofile_cpu_type.  		 */ -		if (old.oprofile_cpu_type == NULL) -			t->oprofile_cpu_type = s->oprofile_cpu_type; +		if (old.oprofile_cpu_type == NULL) { +			t->oprofile_cpu_type = old.oprofile_cpu_type; +			t->oprofile_type = old.oprofile_type; +		}  	}  	*PTRRELOC(&cur_cpu_spec) = &the_cpu_spec;  | 
