Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2018 21:12:24 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327845 - head/contrib/llvm/lib/Support/Unix
Message-ID:  <201801112112.w0BLCO0T035867@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu Jan 11 21:12:23 2018
New Revision: 327845
URL: https://svnweb.freebsd.org/changeset/base/327845

Log:
  Pull in r316581 from upstream llvm trunk (by John Baldwin):
  
    Don't try to use a non-existent header on FreeBSD/mips.
  
    Reviewers: dim
  
    Differential Revision: https://reviews.llvm.org/D38807
  
  Requested by:	jhb
  MFC after:	3 days

Modified:
  head/contrib/llvm/lib/Support/Unix/Memory.inc

Modified: head/contrib/llvm/lib/Support/Unix/Memory.inc
==============================================================================
--- head/contrib/llvm/lib/Support/Unix/Memory.inc	Thu Jan 11 20:26:17 2018	(r327844)
+++ head/contrib/llvm/lib/Support/Unix/Memory.inc	Thu Jan 11 21:12:23 2018	(r327845)
@@ -27,7 +27,7 @@
 #if defined(__mips__)
 #  if defined(__OpenBSD__)
 #    include <mips64/sysarch.h>
-#  else
+#  elif !defined(__FreeBSD__)
 #    include <sys/cachectl.h>
 #  endif
 #endif



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