Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2016 14:34:36 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295625 - head/sys/kern
Message-ID:  <201602151434.u1FEYa4j001850@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Feb 15 14:34:35 2016
New Revision: 295625
URL: https://svnweb.freebsd.org/changeset/base/295625

Log:
  Allow MIPS INTRNG code to be built without FDT support.
  
  This patch allows the newly imported INTRNG code to be built without necessarily
  having FDT support in the kernel.  This may be useful for some MIPS platforms
  that wish to move to INTRNG, but not to FDT at the same time.
  
  Basically all the code is already within ifdef's where FDT is concerned,
  it's just the headers that aren't.
  
  Submitted by:	Stanislav Galabov <sgalabov@gmail.com>
  Differential Revision:	https://reviews.freebsd.org/D5249

Modified:
  head/sys/kern/subr_intr.c

Modified: head/sys/kern/subr_intr.c
==============================================================================
--- head/sys/kern/subr_intr.c	Mon Feb 15 12:34:47 2016	(r295624)
+++ head/sys/kern/subr_intr.c	Mon Feb 15 14:34:35 2016	(r295625)
@@ -60,11 +60,13 @@ __FBSDID("$FreeBSD$");
 #include <machine/smp.h>
 #include <machine/stdarg.h>
 
+#ifdef FDT
 #include <dev/ofw/openfirm.h>
 #include <dev/ofw/ofw_bus.h>
 #include <dev/ofw/ofw_bus_subr.h>
 
 #include <dev/fdt/fdt_common.h>
+#endif
 
 #ifdef DDB
 #include <ddb/ddb.h>



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