[Patch] Fix for build break for alpha

From: csj <junsu_at_delphij.net>
Date: Thu, 1 Jul 2004 22:51:46 +0800
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
_at__at_ -27,6 +27,8 _at__at_
 #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
_at__at_ -91,6 +91,8 _at__at_

 #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
_at__at_ -27,6 +27,8 _at__at_
 #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
_at__at_ -27,6 +27,8 _at__at_
 #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
_at__at_ -58,6 +58,8 _at__at_
 #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
_at__at_ -27,6 +27,8 _at__at_
 #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>
Received on Thu Jul 01 2004 - 13:11:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC