Date: Thu, 1 Jul 2004 22:51:46 +0800 From: "csj" <junsu@delphij.net> To: <alpha@freebsd.org> Cc: current@freebsd.org Subject: [Patch] Fix for build break for alpha Message-ID: <002701c45f7a$f5a31110$5adea1d3@fareast.corp.microsoft.com>
next in thread | raw e-mail | index | archive | help
I noticed the build is break in the alpha due to 1.21 reversion of rman.h. In my config, I manually added the #define __RMAN_RESOURCE_VISIBLE into the following files:
src/sys/alpha/alpha/sgmap.c
src/sys/alpha/pci/cia.c
src/sys/alpha/isa/isa.c
src/sys/alpha/mcbus/mcpcia.c
src/sys/alpha/tlsb/dwlpx.c
src/sys/alpha/pci/tsunami_pci.c
to build the kernel.
Thanks,
Jun
==========================================
--- src/sys/alpha/alpha/sgmap.c~ Fri Sep 19 00:40:43 2003
+++ src/sys/alpha/alpha/sgmap.c Thu Jul 1 19:18:44 2004
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/sys/alpha/alpha/sgmap.c,v 1.6 2003/08/22 07:20:25 imp Exp $");
+#define __RMAN_RESOURCE_VISIBLE
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
--- src/sys/alpha/pci/cia.c~ Fri Feb 13 01:56:47 2004
+++ src/sys/alpha/pci/cia.c Thu Jul 1 19:20:31 2004
@@ -91,6 +91,8 @@
#include "opt_cpu.h"
+#define __RMAN_RESOURCE_VISIBLE
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
--- src/sys/alpha/isa/isa.c~ Thu Mar 25 13:17:51 2004
+++ src/sys/alpha/isa/isa.c Thu Jul 1 19:19:47 2004
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/sys/alpha/isa/isa.c,v 1.35 2004/03/17 21:45:55 jmg Exp $");
+#define __RMAN_RESOURCE_VISIBLE
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
--- src/sys/alpha/mcbus/mcpcia.c~ Fri Feb 13 01:56:46 2004
+++ src/sys/alpha/mcbus/mcpcia.c Thu Jul 1 20:03:03 2004
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/sys/alpha/mcbus/mcpcia.c,v 1.28 2003/11/17 06:10:14 peter Exp $");
+#define __RMAN_RESOURCE_VISIBLE
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
--- src/sys/alpha/tlsb/dwlpx.c~ Fri Sep 19 00:40:45 2003
+++ src/sys/alpha/tlsb/dwlpx.c Thu Jul 1 20:04:22 2004
@@ -58,6 +58,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/sys/alpha/tlsb/dwlpx.c,v 1.26 2003/08/22 07:20:27 imp Exp $");
+#define __RMAN_RESOURCE_VISIBLE
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
--- src/sys/alpha/pci/tsunami_pci.c~ Fri Sep 19 00:40:45 2003
+++ src/sys/alpha/pci/tsunami_pci.c Thu Jul 1 20:05:13 2004
@@ -27,6 +27,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/sys/alpha/pci/tsunami_pci.c,v 1.16 2003/08/22 07:20:27 imp Exp $");
+#define __RMAN_RESOURCE_VISIBLE
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002701c45f7a$f5a31110$5adea1d3>
