From 09b6b331f0afb84c4f6fa0da1aab735339132b04 Mon Sep 17 00:00:00 2001
From: Breno Leitao <brenohl@br.ibm.com>
Date: Tue, 16 Jan 2018 08:00:02 -0500
Subject: [PATCH 21/26] UBUNTU: SAUCE: powerpc/kernel: Remove unused variable

CVE-2017-5754

Variable l1d_flush_fallback_area is created but never used, which causes
compilation failures on Ubuntu 14.04.

Signed-off-by: Breno Leitao <brenohl@br.ibm.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
 arch/powerpc/kernel/setup_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 5d5a296..be3dc4f 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -730,7 +730,7 @@ EXPORT_SYMBOL(ppc_pci_io);
 #ifdef CONFIG_PPC_BOOK3S_64
 static enum l1d_flush_type enabled_flush_types;
 #define MAX_L1D_SIZE (64 * 1024)
-static char l1d_flush_fallback_area[2 * MAX_L1D_SIZE] __page_aligned_bss;
+//static char l1d_flush_fallback_area[2 * MAX_L1D_SIZE] __page_aligned_bss;
 static bool no_rfi_flush;
 bool rfi_flush;
 
-- 
2.7.4

