diff options
author | Mathieu Malaterre <malat@debian.org> | 2019-03-13 21:00:30 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-01 12:08:44 +1000 |
commit | a5ae043de7678f189303559782f6057078459a41 (patch) | |
tree | 7d641b3c23fd50a8c0424d835cc9687b77b78349 /arch | |
parent | 7e8039795a80bdf1418964b9cabef6168bc5d9a4 (diff) | |
download | linux-a5ae043de7678f189303559782f6057078459a41.tar.bz2 |
powerpc/64s: Remove 'dummy_copy_buffer'
In commit 2bf1071a8d50 ("powerpc/64s: Remove POWER9 DD1 support") the
function __switch_to remove usage for 'dummy_copy_buffer'. Since it is
not used anywhere else, remove it completely.
This remove the following warning:
arch/powerpc/kernel/process.c:1156:17: error: 'dummy_copy_buffer' defined but not used
Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/process.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 64e1494d3a1d..0c2017357073 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c @@ -1152,11 +1152,6 @@ static inline void restore_sprs(struct thread_struct *old_thread, thread_pkey_regs_restore(new_thread, old_thread); } -#ifdef CONFIG_PPC_BOOK3S_64 -#define CP_SIZE 128 -static const u8 dummy_copy_buffer[CP_SIZE] __attribute__((aligned(CP_SIZE))); -#endif - struct task_struct *__switch_to(struct task_struct *prev, struct task_struct *new) { |