commit | 3a09d8e2893b2403a043890e5832966e8640feaf | [log] [tgz] |
---|---|---|
author | Mao Han <han_mao@c-sky.com> | Wed Sep 25 17:23:02 2019 +0800 |
committer | Guo Ren <ren_guo@c-sky.com> | Mon Sep 30 10:26:33 2019 +0800 |
tree | 223e7acd6759948b7561d310b447ae766dd795a6 | |
parent | 48ede51fd94fe9251058fc85626b2aeb5cbb5884 [diff] |
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 <han_mao@c-sky.com> Signed-off-by: Guo Ren <ren_guo@c-sky.com>