Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: Fix compilation error while accessing MPIDR_HWID_BITMASK from …
….S files Since commit e1a50de (arm64: cputype: Silence Sparse warnings), compilation of arm64 architecture is broken with the following error messages: AR arch/arm64/kernel/built-in.o arch/arm64/kernel/head.S: Assembler messages: arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')' arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')' arch/arm64/kernel/head.S:677: Error: found 'L', expected: ')' arch/arm64/kernel/head.S:677: Error: junk at end of line, first unrecognized character is `L' arch/arm64/kernel/head.S:677: Error: unexpected characters following instruction at operand 2 -- `movz x1,:abs_g1_s:0xff00ffffffUL' arch/arm64/kernel/head.S:677: Error: unexpected characters following instruction at operand 2 -- `movk x1,:abs_g0_nc:0xff00ffffffUL' This patch fixes the same by using the UL() macro correctly for assigning the MPIDR_HWID_BITMASK macro value. Fixes: e1a50de ("arm64: cputype: Silence Sparse warnings") Acked-by: Arnd Bergmann <[email protected]> Acked-by: Robin Murphy <[email protected]> Signed-off-by: Bhupesh Sharma <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
- Loading branch information