Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 convert to CFATTACH_DECL_NEW().



details:   https://anonhg.NetBSD.org/src/rev/58b9f7b32da4
branches:  trunk
changeset: 752911:58b9f7b32da4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Mar 11 03:12:42 2010 +0000

description:
convert to CFATTACH_DECL_NEW().

diffstat:

 sys/arch/sparc64/sparc64/cpu.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r c80438c7051a -r 58b9f7b32da4 sys/arch/sparc64/sparc64/cpu.c
--- a/sys/arch/sparc64/sparc64/cpu.c    Thu Mar 11 02:21:41 2010 +0000
+++ b/sys/arch/sparc64/sparc64/cpu.c    Thu Mar 11 03:12:42 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.91 2010/03/08 04:18:48 mrg Exp $ */
+/*     $NetBSD: cpu.c,v 1.92 2010/03/11 03:12:42 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -52,7 +52,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.91 2010/03/08 04:18:48 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.92 2010/03/11 03:12:42 mrg Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -110,8 +110,7 @@
 void cpu_attach(struct device *, struct device *, void *);
 int cpu_match(struct device *, struct cfdata *, void *);
 
-CFATTACH_DECL(cpu, sizeof(struct device),
-    cpu_match, cpu_attach, NULL, NULL);
+CFATTACH_DECL_NEW(cpu, 0, cpu_match, cpu_attach, NULL, NULL);
 
 static int
 upaid_from_node(u_int cpu_node)



Home | Main Index | Thread Index | Old Index