From 9fb6986e83a84f6b958e8aba2c20b5988676bd55 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 16 Dec 2003 08:57:08 +0000 Subject: Don't ioremap the framebuffer area. The ioremapped area wasn't used by anything, and took up valuable KVA. While I'm in the area, clean up BSD MTRR stuff some more. Suggested by: jonsmirl --- bsd-core/drm_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsd-core/drm_sysctl.c') diff --git a/bsd-core/drm_sysctl.c b/bsd-core/drm_sysctl.c index 4bb603f4..0897c359 100644 --- a/bsd-core/drm_sysctl.c +++ b/bsd-core/drm_sysctl.c @@ -192,7 +192,7 @@ static int DRM(vm_info)DRM_SYSCTL_HANDLER_ARGS else type = types[map->type]; - if (map->mtrr <= 0) + if (!map->mtrr) yesno = "no"; else yesno = "yes"; -- cgit v1.2.3