aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/branch.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-07-16 12:07:05 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-07-20 14:38:18 +0100
commitd6d8a4635a8451ca3c6fa2aaf9bbf934d8e2097b (patch)
tree5c88efce6c89e6c3500a875ab285f1db5fa3cec3 /include/asm-mips/branch.h
parentc29d150305f7f655b7002cc31754c605e5c0d1a0 (diff)
downloadkernel_samsung_smdk4412-d6d8a4635a8451ca3c6fa2aaf9bbf934d8e2097b.zip
kernel_samsung_smdk4412-d6d8a4635a8451ca3c6fa2aaf9bbf934d8e2097b.tar.gz
kernel_samsung_smdk4412-d6d8a4635a8451ca3c6fa2aaf9bbf934d8e2097b.tar.bz2
[MIPS] Tinker with constraints in <asm/atomic.h> to fix build error.
[...] CC init/main.o include/asm/bitops.h: In function `start_kernel': include/asm/bitops.h:76: warning: asm operand 2 probably doesn't match constraints include/asm/bitops.h:76: warning: asm operand 2 probably doesn't match constraints include/asm/bitops.h:76: warning: asm operand 2 probably doesn't match constraints include/asm/bitops.h:76: error: impossible constraint in `asm' include/asm/bitops.h:76: error: impossible constraint in `asm' include/asm/bitops.h:76: error: impossible constraint in `asm' make[1]: *** [init/main.o] Error 1 [...] The build error is caused by the ages old gcc bug where gcc at the time of analyzing the constraints is unable to figure out that an "i" constraint actually can be satisfied and thus will abort unless an "r" is added to the constraint. For the actual code generation gcc will only ever use the "i" constraint. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/branch.h')
0 files changed, 0 insertions, 0 deletions