Page MenuHomeFreeBSD

D7770.id20011.diff
No OneTemporary

D7770.id20011.diff

Index: sys/dev/drm2/drmP.h
===================================================================
--- sys/dev/drm2/drmP.h
+++ sys/dev/drm2/drmP.h
@@ -103,8 +103,16 @@
#include <dev/drm2/drm_os_freebsd.h>
-#define __OS_HAS_AGP (defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE)))
-#define __OS_HAS_MTRR (defined(CONFIG_MTRR))
+#if defined(CONFIG_AGP) || (defined(CONFIG_AGP_MODULE) && defined(MODULE))
+#define __OS_HAS_AGP 1
+#else
+#define __OS_HAS_AGP 0
+#endif
+#if defined(CONFIG_MTRR)
+#define __OS_HAS_MTRR 1
+#else
+#define __OS_HAS_MTRR 0
+#endif
struct drm_file;
struct drm_device;

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 10:19 PM (17 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35384032
Default Alt Text
D7770.id20011.diff (617 B)

Event Timeline