X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fmips%2Fmm%2Fuasm.c;h=a82970442b8a4f575a3ea8a42b98840295c6d817;hb=9e58c5dc4be31f8cf3ff62d96f91c97af6f9d58e;hp=3e0282d301d61bd4e35aee94ee5cf2f2cebd7a5e;hpb=0524b422fa39fe3dd9454c8667da283241dde9e7;p=karo-tx-linux.git diff --git a/arch/mips/mm/uasm.c b/arch/mips/mm/uasm.c index 3e0282d301d6..a82970442b8a 100644 --- a/arch/mips/mm/uasm.c +++ b/arch/mips/mm/uasm.c @@ -378,11 +378,7 @@ UASM_EXPORT_SYMBOL(ISAFUNC(uasm_build_label)); int ISAFUNC(uasm_in_compat_space_p)(long addr) { /* Is this address in 32bit compat space? */ -#ifdef CONFIG_64BIT - return (((addr) & 0xffffffff00000000L) == 0xffffffff00000000L); -#else - return 1; -#endif + return addr == (int)addr; } UASM_EXPORT_SYMBOL(ISAFUNC(uasm_in_compat_space_p));