From: jsg Date: Sat, 26 Jun 2021 02:02:47 +0000 (+0000) Subject: riscv64 struct cpu_info has ci_idepth X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11712607fcd2e62c6f5400eec54d685b161200e6;p=openbsd riscv64 struct cpu_info has ci_idepth --- diff --git a/sys/dev/pci/drm/include/linux/preempt.h b/sys/dev/pci/drm/include/linux/preempt.h index e2ea3855254..6ef9daa9308 100644 --- a/sys/dev/pci/drm/include/linux/preempt.h +++ b/sys/dev/pci/drm/include/linux/preempt.h @@ -12,7 +12,7 @@ static inline bool in_irq(void) { #if defined(__amd64__) || defined(__arm__) || defined(__arm64__) || \ - defined(__i386__) || defined(__powerpc64__) + defined(__i386__) || defined(__powerpc64__) || defined(__riscv64__) return (curcpu()->ci_idepth > 0); #else return false;