]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: fix the build with binutils 2.27
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 12 Oct 2022 03:06:35 +0000 (11:06 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 14 Oct 2022 20:39:23 +0000 (13:39 -0700)
commitea6984f08d03704902d89a41fde5867eac138f11
treebf2c154837269a3b9b70b22c510194d83eb981a1
parent6e3f5c5ecb31d550dd844c3762176229d1a78b25
clk: at91: fix the build with binutils 2.27

There is an issue when build with older versions of binutils 2.27.0,

arch/arm/mach-at91/pm_suspend.S: Assembler messages:
arch/arm/mach-at91/pm_suspend.S:1086: Error: garbage following instruction -- `ldr tmp1,=0x00020010UL'

Use UL() macro to fix the issue in assembly file.

Fixes: bb199ebb8a3e ("ARM: at91: pm: add plla disable/enable support for sam9x60")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/20221012030635.13140-1-wangkefeng.wang@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/linux/clk/at91_pmc.h