[PATCH] powerpc: Move ras.c into arch/powerpc/platforms/pseries
ras.o is only built for CONFIG_PPC_PSERIES, so move it into arch/powerpc/platforms/pseries. Update Makefiles to suit. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
21f35f2822
commit
d9953105ce
@@ -1,4 +1,4 @@
|
|||||||
obj-y := pci.o lpar.o hvCall.o nvram.o reconfig.o \
|
obj-y := pci.o lpar.o hvCall.o nvram.o reconfig.o \
|
||||||
setup.o iommu.o
|
setup.o iommu.o ras.o
|
||||||
obj-$(CONFIG_SMP) += smp.o
|
obj-$(CONFIG_SMP) += smp.o
|
||||||
obj-$(CONFIG_IBMVIO) += vio.o
|
obj-$(CONFIG_IBMVIO) += vio.o
|
||||||
|
@@ -1,17 +1,16 @@
|
|||||||
/*
|
/*
|
||||||
* ras.c
|
|
||||||
* Copyright (C) 2001 Dave Engebretsen IBM Corporation
|
* Copyright (C) 2001 Dave Engebretsen IBM Corporation
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
* (at your option) any later version.
|
* (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
@@ -19,7 +18,7 @@
|
|||||||
|
|
||||||
/* Change Activity:
|
/* Change Activity:
|
||||||
* 2001/09/21 : engebret : Created with minimal EPOW and HW exception support.
|
* 2001/09/21 : engebret : Created with minimal EPOW and HW exception support.
|
||||||
* End Change Activity
|
* End Change Activity
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
@@ -323,7 +322,7 @@ static int recover_mce(struct pt_regs *regs, struct rtas_error_log * err)
|
|||||||
nonfatal = 1;
|
nonfatal = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_error((char *)err, ERR_TYPE_RTAS_LOG, !nonfatal);
|
log_error((char *)err, ERR_TYPE_RTAS_LOG, !nonfatal);
|
||||||
|
|
||||||
return nonfatal;
|
return nonfatal;
|
||||||
}
|
}
|
@@ -29,7 +29,7 @@ ifneq ($(CONFIG_PPC_MERGE),y)
|
|||||||
obj-$(CONFIG_PPC_MULTIPLATFORM) += prom_init.o
|
obj-$(CONFIG_PPC_MULTIPLATFORM) += prom_init.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_PPC_PSERIES) += rtasd.o ras.o udbg_16550.o
|
obj-$(CONFIG_PPC_PSERIES) += rtasd.o udbg_16550.o
|
||||||
|
|
||||||
obj-$(CONFIG_PPC_BPA) += bpa_setup.o bpa_iommu.o bpa_nvram.o \
|
obj-$(CONFIG_PPC_BPA) += bpa_setup.o bpa_iommu.o bpa_nvram.o \
|
||||||
bpa_iic.o spider-pic.o
|
bpa_iic.o spider-pic.o
|
||||||
|
Reference in New Issue
Block a user