kernel_optimize_test/arch
Maciej W. Rozycki 2fabc7d25d MIPS: signal.c: Fix an invalid cast in ISA mode bit handling
Fix:

arch/mips/kernel/signal.c: In function 'handle_signal':
arch/mips/kernel/signal.c:533:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  unsigned int tmp = (unsigned int)current->mm->context.vdso;
                     ^
arch/mips/kernel/signal.c:536:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  vdso = (void *)tmp;
         ^
cc1: all warnings being treated as errors

when building a 64-bit kernel.

This is not really a supported configuration, but the cast is wrong
either way, Linux makes the assumption that sizeof(void *) equals
sizeof(unsigned long) and therefore the latter type is expected to be
used where integer operations have to be applied to pointers for some
reason.

Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8480/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-11-24 07:45:36 +01:00
..
alpha
arc
arm ARM: multi_v7_defconfig: fix failure setting CPU voltage by enabling dependent I2C controller 2014-11-19 09:35:17 -08:00
arm64 arm64 fixes: 2014-11-14 14:24:33 -08:00
avr32
blackfin
c6x
cris
frv
hexagon
ia64
m32r
m68k
metag
microblaze
mips MIPS: signal.c: Fix an invalid cast in ISA mode bit handling 2014-11-24 07:45:36 +01:00
mn10300
openrisc
parisc parisc: Avoid using CONFIG_64BIT in userspace exported headers 2014-11-10 22:25:29 +01:00
powerpc powerpc/fsl_msi: mark the msi cascade handler IRQF_NO_THREAD 2014-11-17 22:00:30 -06:00
s390
score
sh
sparc sparc64: Fix constraints on swab helpers. 2014-11-16 13:19:32 -08:00
tile
um
unicore32
x86 uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME 2014-11-23 14:25:28 -08:00
xtensa
.gitignore
Kconfig