mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
powerpc: Fix PPC_EMULATED_STATS build break with sync patch
Commit 9863c28a2a ("powerpc: Emulate sync
instruction variants") introduced a build breakage with
CONFIG_PPC_EMULATED_STATS enabled.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Kumar Gala <galak@kernel.org>
Cc: James Yang <James.Yang@freescale.com>
---
This commit is contained in:
@@ -43,6 +43,7 @@ extern struct ppc_emulated {
|
||||
struct ppc_emulated_entry popcntb;
|
||||
struct ppc_emulated_entry spe;
|
||||
struct ppc_emulated_entry string;
|
||||
struct ppc_emulated_entry sync;
|
||||
struct ppc_emulated_entry unaligned;
|
||||
#ifdef CONFIG_MATH_EMULATION
|
||||
struct ppc_emulated_entry math;
|
||||
|
||||
@@ -1820,6 +1820,7 @@ struct ppc_emulated ppc_emulated = {
|
||||
WARN_EMULATED_SETUP(popcntb),
|
||||
WARN_EMULATED_SETUP(spe),
|
||||
WARN_EMULATED_SETUP(string),
|
||||
WARN_EMULATED_SETUP(sync),
|
||||
WARN_EMULATED_SETUP(unaligned),
|
||||
#ifdef CONFIG_MATH_EMULATION
|
||||
WARN_EMULATED_SETUP(math),
|
||||
|
||||
Reference in New Issue
Block a user