Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util/udma_barrier.h: fix mips4 build #1421

Merged
merged 1 commit into from Jan 22, 2024
Merged

util/udma_barrier.h: fix mips4 build #1421

merged 1 commit into from Jan 22, 2024

Conversation

ffontaine
Copy link
Contributor

The 'sync' instruction for MIPS was defined in MIPS-II as taking no operands. MIPS32 extended the define of 'sync' as taking an optional unsigned 5 bit immediate.

As a result, replace "sync 0" by "sync" to fix the following build failure on mips4 raised since version 43.0 and
b7c4283:

/tmp/ccrBy9fV.s: Assembler messages:
/tmp/ccrBy9fV.s:994: Error: invalid operands `sync 0'

Fixes:

The 'sync' instruction for MIPS was defined in MIPS-II as taking no
operands. MIPS32 extended the define of 'sync' as taking an optional
unsigned 5 bit immediate.

As a result, replace "sync 0" by "sync" to fix the following build
failure on mips4 raised since version 43.0 and
b7c4283:

/tmp/ccrBy9fV.s: Assembler messages:
/tmp/ccrBy9fV.s:994: Error: invalid operands `sync 0'

Fixes:
 - http:https://autobuild.buildroot.org/results/2ab22a3ec4287fc15ff6a90d8715b4897b32a933

Signed-off-by: Fabrice Fontaine <[email protected]>
@jgunthorpe jgunthorpe merged commit f3f0c06 into linux-rdma:master Jan 22, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants