Pull in drm_os_netbsd.h for CONFIG_<arch> defines

This commit is contained in:
jmcneill 2020-01-19 16:12:00 +00:00
parent db1c1a9455
commit a964f69d26
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: drm_cache.h,v 1.3 2020/01/19 12:03:27 jmcneill Exp $ */
/* $NetBSD: drm_cache.h,v 1.4 2020/01/19 16:12:00 jmcneill Exp $ */
/**************************************************************************
*
@ -35,6 +35,10 @@
#ifndef _DRM_CACHE_H_
#define _DRM_CACHE_H_
#ifdef __NetBSD__
#include <drm/drm_os_netbsd.h>
#endif
void drm_clflush_pages(struct page *pages[], unsigned long num_pages);
static inline bool drm_arch_can_wc_memory(void)