From a28f4c93a2883549d8739a5b0c5cdef48a44b73e Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 13 Oct 2002 21:14:28 +0000 Subject: [PATCH] Fix arm kernel build breaks for non multiprocessor systems. --- sys/arch/arm/arm32/cpu.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/arm/arm32/cpu.c b/sys/arch/arm/arm32/cpu.c index 23ba78bd12fa..aceb60e4c080 100644 --- a/sys/arch/arm/arm32/cpu.c +++ b/sys/arch/arm/arm32/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.44 2002/10/13 12:24:57 bjh21 Exp $ */ +/* $NetBSD: cpu.c,v 1.45 2002/10/13 21:14:28 chris Exp $ */ /* * Copyright (c) 1995 Mark Brinicombe. @@ -45,7 +45,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.44 2002/10/13 12:24:57 bjh21 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.45 2002/10/13 21:14:28 chris Exp $"); #include #include @@ -514,7 +514,7 @@ identify_arm_cpu(struct device *dv, struct cpu_info *ci) } } - +#ifdef MULTIPROCESSOR int cpu_alloc_idlepcb(struct cpu_info *ci) { @@ -560,5 +560,6 @@ cpu_alloc_idlepcb(struct cpu_info *ci) *tf = *proc0.p_addr->u_pcb.pcb_tf; return 0; } +#endif /* MULTIPROCESSOR */ /* End of cpu.c */