From 18a48a9267826a3c81e87a5fa9bba79ea0cd295c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 14 Aug 2006 11:49:52 +1000 Subject: remove all TRUE/FALSE no need for this in the drm, use 0 or 1 --- linux-core/via_mm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux-core/via_mm.c') diff --git a/linux-core/via_mm.c b/linux-core/via_mm.c index f4d147e9..3195c066 100644 --- a/linux-core/via_mm.c +++ b/linux-core/via_mm.c @@ -118,8 +118,8 @@ void via_lastclose(struct drm_device *dev) mutex_lock(&dev->struct_mutex); drm_sman_cleanup(&dev_priv->sman); - dev_priv->vram_initialized = FALSE; - dev_priv->agp_initialized = FALSE; + dev_priv->vram_initialized = 0; + dev_priv->agp_initialized = 0; mutex_unlock(&dev->struct_mutex); } @@ -141,7 +141,7 @@ int via_mem_alloc(DRM_IOCTL_ARGS) return DRM_ERR(EINVAL); } mutex_lock(&dev->struct_mutex); - if (FALSE == ((mem.type == VIA_MEM_VIDEO) ? dev_priv->vram_initialized : + if (0 == ((mem.type == VIA_MEM_VIDEO) ? dev_priv->vram_initialized : dev_priv->agp_initialized)) { DRM_ERROR ("Attempt to allocate from uninitialized memory manager.\n"); -- cgit v1.2.3