Skip to content
Commit 19d64d1a authored by Ruiqiang Hao's avatar Ruiqiang Hao Committed by Bruce Ashfield
Browse files

soc: marvell: add missing header needed by linux/soc/marvell/octeontx2/asm.h

commit ecd71fc4

(octeontx2-pf: Use CQ_OP_STATUS register for CQE
count) added function otx2_atomic64_fetch_add(), but didn't add the
corresponding header file, which cause below compilation problems.
Add missing header in file include/linux/soc/marvell/octeontx2/asm.h.

include/linux/soc/marvell/octeontx2/asm.h:38:15: error: unknown type name 'u64'
   38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
      |               ^~~
include/linux/soc/marvell/octeontx2/asm.h:38:43: error: unknown type name 'u64'
   38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
      |                                           ^~~
include/linux/soc/marvell/octeontx2/asm.h:38:53: error: unknown type name 'u64'
   38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
      |                                                     ^~~

Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 4f3bf3fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment