summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-01-20 12:07:23 -0500
committerStafford Horne <shorne@gmail.com>2026-01-20 19:24:05 +0000
commit0dfffa5479d6260d04d021f69203b1926f73d889 (patch)
tree34ef03f492adcb150f979154b9ab992a6f75c00c /include/linux/i2c/git@git.tavy.me:linux.git
parente318f5721da8c47c95171b810427fba995c67c24 (diff)
openrisc: define arch-specific version of nop()
When compiling a driver written for MIPS on OpenRISC that uses the nop() function, it fails due to the following error: drivers/watchdog/pic32-wdt.c: Assembler messages: drivers/watchdog/pic32-wdt.c:125: Error: unrecognized instruction `nop' The driver currently uses the generic version of nop() from include/asm-generic/barrier.h: #ifndef nop #define nop() asm volatile ("nop") #endif Let's fix this on OpenRISC by defining an architecture-specific version of nop(). This was tested by performing an allmodconfig openrisc cross compile on an aarch64 host. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202601180236.BVy480We-lkp@intel.com/ Signed-off-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions