From 000978aaca772aef3826b572b8b1cf1ee0403563 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 16 Oct 1998 19:34:57 +0000 Subject: [PATCH] Check for gcc the Right way when quashing -Wuninitialized goop. --- sys/uvm/uvm_fault.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c index 491c51f4ff5f..192e2919aa4f 100644 --- a/sys/uvm/uvm_fault.c +++ b/sys/uvm/uvm_fault.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_fault.c,v 1.13 1998/10/11 23:07:42 chuck Exp $ */ +/* $NetBSD: uvm_fault.c,v 1.14 1998/10/16 19:34:57 tv Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -1136,7 +1136,7 @@ ReFault: anon = uvm_analloc(); if (anon) pg = uvm_pagealloc(NULL, 0, anon); -#if defined(sparc) || defined(arm32) +#ifdef __GNUC__ else pg = NULL; /* XXX: gcc */ #endif @@ -1508,7 +1508,7 @@ Case2: anon = uvm_analloc(); if (anon) pg = uvm_pagealloc(NULL, 0, anon); /* BUSY+CLEAN+FAKE */ -#if defined(sparc) || defined(arm32) +#ifdef __GNUC__ else pg = NULL; /* XXX: gcc */ #endif