Commit a3821b2a authored by Scott Wood's avatar Scott Wood

powerpc: Fix PPC_EMULATED_STATS build break with sync patch

Commit 9863c28a ("powerpc: Emulate sync
instruction variants") introduced a build breakage with
CONFIG_PPC_EMULATED_STATS enabled.
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Cc: Kumar Gala <galak@kernel.org>
Cc: James Yang <James.Yang@freescale.com>
---
parent b60c5a7a
...@@ -43,6 +43,7 @@ extern struct ppc_emulated { ...@@ -43,6 +43,7 @@ extern struct ppc_emulated {
struct ppc_emulated_entry popcntb; struct ppc_emulated_entry popcntb;
struct ppc_emulated_entry spe; struct ppc_emulated_entry spe;
struct ppc_emulated_entry string; struct ppc_emulated_entry string;
struct ppc_emulated_entry sync;
struct ppc_emulated_entry unaligned; struct ppc_emulated_entry unaligned;
#ifdef CONFIG_MATH_EMULATION #ifdef CONFIG_MATH_EMULATION
struct ppc_emulated_entry math; struct ppc_emulated_entry math;
......
...@@ -1820,6 +1820,7 @@ struct ppc_emulated ppc_emulated = { ...@@ -1820,6 +1820,7 @@ struct ppc_emulated ppc_emulated = {
WARN_EMULATED_SETUP(popcntb), WARN_EMULATED_SETUP(popcntb),
WARN_EMULATED_SETUP(spe), WARN_EMULATED_SETUP(spe),
WARN_EMULATED_SETUP(string), WARN_EMULATED_SETUP(string),
WARN_EMULATED_SETUP(sync),
WARN_EMULATED_SETUP(unaligned), WARN_EMULATED_SETUP(unaligned),
#ifdef CONFIG_MATH_EMULATION #ifdef CONFIG_MATH_EMULATION
WARN_EMULATED_SETUP(math), WARN_EMULATED_SETUP(math),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment