summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/drm/include/linux/preempt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/include/linux/preempt.h b/sys/dev/pci/drm/include/linux/preempt.h
index fdcaf207999..e2ea3855254 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(__i386__) || defined(__powerpc64__)
return (curcpu()->ci_idepth > 0);
#else
return false;