Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 19:35:14 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321393 - head/sys/vm
Message-ID:  <201707231935.v6NJZEZt071105@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sun Jul 23 19:35:14 2017
New Revision: 321393
URL: https://svnweb.freebsd.org/changeset/base/321393

Log:
  Address a compilation warning on some architectures that was introduced
  by the previous change, r321386.
  
  Reported by:	ian
  MFC after:	10 days
  X-MFC after:	r321386

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c	Sun Jul 23 19:00:28 2017	(r321392)
+++ head/sys/vm/vm_fault.c	Sun Jul 23 19:35:14 2017	(r321393)
@@ -269,8 +269,9 @@ vm_fault_soft_fast(struct faultstate *fs, vm_offset_t 
 	vm_page_t m, m_map;
 #if defined(__amd64__) && VM_NRESERVLEVEL > 0
 	vm_page_t m_super;
+	int flags;
 #endif
-	int flags, psind, rv;
+	int psind, rv;
 
 	MPASS(fs->vp == NULL);
 	m = vm_page_lookup(fs->first_object, fs->first_pindex);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707231935.v6NJZEZt071105>