MIPS: Factor o32 specific code into signal_o32.c
authorHarvey Hunt <harvey.hunt@imgtec.com>
Fri, 17 Jun 2016 15:03:45 +0000 (16:03 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 2 Aug 2016 09:02:35 +0000 (11:02 +0200)
commitd1e63c947a6fa4f61253343d9bbd834394a6c364
tree75a5093965112c8b69389a8d73639b768f65bc6e
parent1a770b85c1f1c1ee37afd7cef5237ffc4c970f04
MIPS: Factor o32 specific code into signal_o32.c

The commit ebb5e78cc634 ("MIPS: Initial implementation of a VDSO")
caused building a 64 bit kernel with support for n32 and not o32
to produce a build error:

arch/mips/kernel/signal32.c:415:11: error: ‘vdso_image_o32’ undeclared here (not in a function)
  .vdso  = &vdso_image_o32,

Fix this by moving the o32 specific code into signal_o32.c and
updating the Makefile accordingly.

Signed-off-by: Harvey Hunt <harvey.hunt@imgtec.com>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: Alex Smith <alex@alex-smith.me.uk>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13690/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/signal.h
arch/mips/kernel/Makefile
arch/mips/kernel/signal32.c
arch/mips/kernel/signal_o32.c [new file with mode: 0644]