diff options
Diffstat (limited to 'sys/dev/pci/drm/include/linux/preempt.h')
-rw-r--r-- | sys/dev/pci/drm/include/linux/preempt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/include/linux/preempt.h b/sys/dev/pci/drm/include/linux/preempt.h index 361befa92c3..32bf1168d15 100644 --- a/sys/dev/pci/drm/include/linux/preempt.h +++ b/sys/dev/pci/drm/include/linux/preempt.h @@ -29,12 +29,7 @@ migrate_disable(void) static inline bool in_irq(void) { -#if defined(__amd64__) || defined(__arm__) || defined(__arm64__) || \ - defined(__i386__) || defined(__powerpc64__) || defined(__riscv64__) return (curcpu()->ci_idepth > 0); -#else - return false; -#endif } static inline bool |