NetBSD-Bugs archive

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

kern/39714: Prototype dumpconf in header sys/arch/x86/include/cpu.h



>Number:         39714
>Category:       kern
>Synopsis:       Prototype dumpconf in header sys/arch/x86/include/cpu.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 08 08:45:00 +0000 2008
>Originator:     Henning Petersen
>Release:        Netbsd-current
>Organization:
>Environment:
>Description:
Function dumpconf in port-i386 and port-amd64 is now cpu_dumpconf.
>How-To-Repeat:

>Fix:
--- sys/arch/x86/include/cpu.h  30 May 2008 11:03:29 -0000      1.7
+++ sys/arch/x86/include/cpu.h  8 Oct 2008 08:06:56 -0000
@@ -318,13 +318,14 @@
 #define        cpu_idle() (*x86_cpu_idle)()
 
 /* machdep.c */
-void   dumpconf(void);
+#ifdef i386
 void   cpu_reset(void);
 void   i386_proc0_tss_ldt_init(void);
-void   dumpconf(void);
+#else
 void   cpu_reset(void);
 void   x86_64_proc0_tss_ldt_init(void);
 void   x86_64_init_pcb_tss_ldt(struct cpu_info *);
+#endif
 
 /* longrun.c */
 u_int  tmx86_get_longrun_mode(void);



Home | Main Index | Thread Index | Old Index