Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Scott Wood 9f595fd8b5 powerpc/8xx: Force VIRT_IMMR_BASE to be a positive number
The asm-offsets mechanism generates signed numbers, even if the
input value is explicitly unsigned.  This causes a problem with
older binutils (e.g. 2.23), which sign-extend a negative number
when @h is applied.  Thus, this instruction:

	cmpli   cr0, r11, VIRT_IMMR_BASE@h

resulted in this:

Error: operand out of range (0xfffffff0 is not between 0x00000000 and
0x0000ffff)

By casting to a larger type, we can force the output to be expressed
as a positive number.

Signed-off-by: Scott Wood <oss@buserror.net>
Cc: Christophe Leroy <christophe.leroy@c-s.fr>
2016-07-09 03:26:53 -05:00
..
2016-01-20 17:09:18 -08:00
2016-01-20 17:09:18 -08:00
2016-06-14 13:58:26 +10:00
2016-06-21 15:30:56 +10:00
2016-06-14 13:58:26 +10:00
2014-11-27 09:32:58 +11:00
2015-08-06 15:10:20 +10:00
2015-03-24 13:15:52 +11:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:26 +10:00
2016-06-21 15:30:51 +10:00
2016-07-09 01:43:50 -05:00
2016-06-21 15:30:50 +10:00
2015-04-07 17:15:13 +10:00
2016-04-12 21:05:18 +10:00