Patchwork target-i386: cpu: recover items 28-31 of ext2_feature_name

login
register
mail settings
Submitter Eduardo Habkost
Date Oct. 24, 2012, 2:10 p.m.
Message ID <1351087833-25772-1-git-send-email-ehabkost@redhat.com>
Download mbox | patch
Permalink /patch/193794/
State New
Headers show

Comments

Eduardo Habkost - Oct. 24, 2012, 2:10 p.m.
I removed a line by mistake on commit
3b671a40cab2404bc63e57db8cd3afa4ec70bfab, containing the flags lm/i64,
3dnow, and 3dnowext. This patch restores the removed line.

Reported-by: Don Slutz <Don@cloudswitch.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 target-i386/cpu.c | 1 +
 1 file changed, 1 insertion(+)
Don Slutz - Oct. 24, 2012, 4:34 p.m.
On 10/24/12 10:10, Eduardo Habkost wrote:
> I removed a line by mistake on commit
> 3b671a40cab2404bc63e57db8cd3afa4ec70bfab, containing the flags lm/i64,
> 3dnow, and 3dnowext. This patch restores the removed line.
>
> Reported-by: Don Slutz <Don@cloudswitch.com>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>   target-i386/cpu.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index f3708e6..6411042 100644
> --- a/target-i386/cpu.c
> +++ b/target-i386/cpu.c
> @@ -74,6 +74,7 @@ static const char *ext2_feature_name[] = {
>       NULL /* pat */, NULL /* pse36 */, NULL, NULL /* Linux mp */,
>       "nx|xd", NULL, "mmxext", NULL /* mmx */,
>       NULL /* fxsr */, "fxsr_opt|ffxsr", "pdpe1gb" /* AMD Page1GB */, "rdtscp",
> +    NULL, "lm|i64", "3dnowext", "3dnow",
>   };
>   static const char *ext3_feature_name[] = {
>       "lahf_lm" /* AMD LahfSahf */, "cmp_legacy", "svm", "extapic" /* AMD ExtApicSpace */,
Reviewed-by: Don Slutz <Don@CloudSwitch.com>
Aurelien Jarno - Oct. 29, 2012, 2:34 p.m.
On Wed, Oct 24, 2012 at 12:10:33PM -0200, Eduardo Habkost wrote:
> I removed a line by mistake on commit
> 3b671a40cab2404bc63e57db8cd3afa4ec70bfab, containing the flags lm/i64,
> 3dnow, and 3dnowext. This patch restores the removed line.
> 
> Reported-by: Don Slutz <Don@cloudswitch.com>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>  target-i386/cpu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index f3708e6..6411042 100644
> --- a/target-i386/cpu.c
> +++ b/target-i386/cpu.c
> @@ -74,6 +74,7 @@ static const char *ext2_feature_name[] = {
>      NULL /* pat */, NULL /* pse36 */, NULL, NULL /* Linux mp */,
>      "nx|xd", NULL, "mmxext", NULL /* mmx */,
>      NULL /* fxsr */, "fxsr_opt|ffxsr", "pdpe1gb" /* AMD Page1GB */, "rdtscp",
> +    NULL, "lm|i64", "3dnowext", "3dnow",
>  };
>  static const char *ext3_feature_name[] = {
>      "lahf_lm" /* AMD LahfSahf */, "cmp_legacy", "svm", "extapic" /* AMD ExtApicSpace */,

Thanks, applied.

Patch

diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index f3708e6..6411042 100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -74,6 +74,7 @@  static const char *ext2_feature_name[] = {
     NULL /* pat */, NULL /* pse36 */, NULL, NULL /* Linux mp */,
     "nx|xd", NULL, "mmxext", NULL /* mmx */,
     NULL /* fxsr */, "fxsr_opt|ffxsr", "pdpe1gb" /* AMD Page1GB */, "rdtscp",
+    NULL, "lm|i64", "3dnowext", "3dnow",
 };
 static const char *ext3_feature_name[] = {
     "lahf_lm" /* AMD LahfSahf */, "cmp_legacy", "svm", "extapic" /* AMD ExtApicSpace */,