diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-07-02 09:50:56 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-07-02 09:50:56 +0000 |
commit | 1f16b75deb18ac019eaeb49edd7023bd9ff10b7a (patch) | |
tree | e62566813cab4a8f2593383376a8331b5e850d3c /sys | |
parent | ece2fda3cf7b59a2d3b5c7da49251a93788440d5 (diff) |
powerpc64 has ci_idepth
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/include/linux/preempt.h | 2 |
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; |