From 7689b22688b39e37346ccbd118dc3a1a8b78e448 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 2 Jun 1998 20:51:24 +0000 Subject: [PATCH] Use the sparc's GCC lossage fix for the arm32 port as well. Problem appears to be a compiler bug resulting in an 'variable possibly used uninitialised' warning when optimisation is used. --- 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 6a6ceb01863e..c2bb01308f3e 100644 --- a/sys/uvm/uvm_fault.c +++ b/sys/uvm/uvm_fault.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_fault.c,v 1.10 1998/05/05 20:51:05 kleink Exp $ */ +/* $NetBSD: uvm_fault.c,v 1.11 1998/06/02 20:51:24 mark Exp $ */ /* * XXXCDC: "ROUGH DRAFT" QUALITY UVM PRE-RELEASE FILE! @@ -1141,7 +1141,7 @@ ReFault: anon = uvm_analloc(); if (anon) pg = uvm_pagealloc(NULL, 0, anon); -#if defined(sparc) +#if defined(sparc) || defined(arm32) else pg = NULL; /* XXX: gcc */ #endif @@ -1513,7 +1513,7 @@ Case2: anon = uvm_analloc(); if (anon) pg = uvm_pagealloc(NULL, 0, anon); /* BUSY+CLEAN+FAKE */ -#if defined(sparc) +#if defined(sparc) || defined(arm32) else pg = NULL; /* XXX: gcc */ #endif