Message ID | 20190114180413.18117-1-sam@ravnborg.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v1,1/1] drm: fix alpha build after drm_util.h change | expand |
Hi all. Please do not apply. O-DAY found a similar bug when building ia64, but this time there is something else from irqflags.h that causes the error. So... > It was considered just to pull in interrupt.h but that would > pull in a lot of unused stuff. This seems to be the rigth solution anyway, as interrupt.h have all the necessary dependencies. I will try this tonight and post an updated patch. Sam
diff --git a/include/drm/drm_util.h b/include/drm/drm_util.h index 0500da65b1d1..0f550bc91db1 100644 --- a/include/drm/drm_util.h +++ b/include/drm/drm_util.h @@ -32,6 +32,8 @@ * Macros and inline functions that does not naturally belong in other places */ +#include <linux/types.h> /* Due to header dependencies this must be first */ + #include <linux/irqflags.h> #include <linux/preempt.h> #include <linux/kgdb.h>