diff options
author | Ganesh Goudar <[email protected]> | 2021-01-28 16:11:42 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-01-31 22:35:49 +1100 |
commit | 17c5cf0fb993e219bda4f53aa9ec90d3cfcf92ab (patch) | |
tree | 32f6be9b2629a853e2a61e3c24f946e7b0c11e1d | |
parent | b709e32ef570b8b91dfbcb63cffac4324c87799f (diff) |
powerpc/mce: Reduce the size of event arrays
Maximum recursive depth of MCE is 4, Considering the maximum depth
allowed reduce the size of event to 10 from 100. This saves us ~19kB
of memory and has no fatal consequences.
Signed-off-by: Ganesh Goudar <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | arch/powerpc/include/asm/mce.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mce.h b/arch/powerpc/include/asm/mce.h index e6c27ae843dc..7d8b6679ec68 100644 --- a/arch/powerpc/include/asm/mce.h +++ b/arch/powerpc/include/asm/mce.h @@ -204,7 +204,7 @@ struct mce_error_info { bool ignore_event; }; -#define MAX_MC_EVT 100 +#define MAX_MC_EVT 10 /* Release flags for get_mce_event() */ #define MCE_EVENT_RELEASE true |