Patchwork fix AMD family 10h engineering sample is reported as 'thermal test kit'

login
register
about
Submitter Scott
Date 2010-10-31 03:06:34
Message ID <A9C8C63AE6EE46C2BAE1233FAC5474FA@m3a78>
Download mbox | patch
Permalink /patch/2216/
State Accepted
Commit r6005
Headers show

Comments

Scott - 2010-10-31 03:06:34
A minor correction to the AMD family 10h name string function

Signed-off-by: Scott Duplichan <scott@notabs.org>
Index: src/cpu/amd/model_10xxx/processor_name.c
===================================================================
--- src/cpu/amd/model_10xxx/processor_name.c	(revision 6000)
+++ src/cpu/amd/model_10xxx/processor_name.c	(working copy)
@@ -204,7 +204,7 @@
 	memset(program_string, 0, sizeof(program_string));
 
 	if (!Model) {
-		processor_name_string = Pg ? sample : thermal;
+		processor_name_string = Pg ? thermal : sample;
 		goto done;
 	}
Peter Stuge - 2010-10-31 07:07:18
Scott Duplichan wrote:
> A minor correction to the AMD family 10h name string function
> 
> Signed-off-by: Scott Duplichan <scott@notabs.org>

Acked-by: Peter Stuge <peter@stuge.se>

Patch

Index: src/cpu/amd/model_10xxx/processor_name.c
===================================================================
--- src/cpu/amd/model_10xxx/processor_name.c	(revision 6000)
+++ src/cpu/amd/model_10xxx/processor_name.c	(working copy)
@@ -204,7 +204,7 @@ 
 	memset(program_string, 0, sizeof(program_string));
 
 	if (!Model) {
-		processor_name_string = Pg ? sample : thermal;
+		processor_name_string = Pg ? thermal : sample;
 		goto done;
 	}