FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

Fix build on FreeBSD-current r351457. #169

Closed cschuber closed 5 years ago

cschuber commented 5 years ago

This patch adds the header sys/pcpu.h to linux_compat.c to fix -current build post r351457.

zeising commented 5 years ago

WIll look at this asap. I assume similar code is needed in the drm-v5.0 branch as well.

baz21 commented 5 years ago

I can confirm that this helps compiling again (I had independently done a similar change putting the sys include before the machine ones).