aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorMao Han <[email protected]>2019-09-25 09:23:02 +0000
committerGuo Ren <[email protected]>2019-09-30 02:26:33 +0000
commit3a09d8e2893b2403a043890e5832966e8640feaf (patch)
tree223e7acd6759948b7561d310b447ae766dd795a6 /drivers/fpga/zynq-fpga.c
parentcsky: Fixup add zero_fp fixup perf backtrace panic (diff)
downloadkernel-3a09d8e2893b2403a043890e5832966e8640feaf.tar.gz
kernel-3a09d8e2893b2403a043890e5832966e8640feaf.zip
csky: Fixup csky_pmu.max_period assignment
The csky_pmu.max_period has type u64, and BIT() can only return 32 bits unsigned long on C-SKY. The initialization for max_period will be incorrect when count_width is bigger than 32. Use BIT_ULL() Signed-off-by: Mao Han <[email protected]> Signed-off-by: Guo Ren <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions