diff options
| author | Mao Han <[email protected]> | 2019-09-25 09:23:02 +0000 |
|---|---|---|
| committer | Guo Ren <[email protected]> | 2019-09-30 02:26:33 +0000 |
| commit | 3a09d8e2893b2403a043890e5832966e8640feaf (patch) | |
| tree | 223e7acd6759948b7561d310b447ae766dd795a6 /drivers/fpga/zynq-fpga.c | |
| parent | csky: Fixup add zero_fp fixup perf backtrace panic (diff) | |
| download | kernel-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
