Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86 remove stale declarations / empty function
details: https://anonhg.NetBSD.org/src/rev/1a475c6e7707
branches: trunk
changeset: 765069:1a475c6e7707
user: drochner <drochner%NetBSD.org@localhost>
date: Wed May 18 12:53:04 2011 +0000
description:
remove stale declarations / empty function
diffstat:
sys/arch/x86/include/i82489var.h | 4 +---
sys/arch/x86/x86/lapic.c | 9 ++-------
2 files changed, 3 insertions(+), 10 deletions(-)
diffs (48 lines):
diff -r 5ad13b6d8916 -r 1a475c6e7707 sys/arch/x86/include/i82489var.h
--- a/sys/arch/x86/include/i82489var.h Wed May 18 12:11:46 2011 +0000
+++ b/sys/arch/x86/include/i82489var.h Wed May 18 12:53:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82489var.h,v 1.12 2008/04/28 20:23:40 martin Exp $ */
+/* $NetBSD: i82489var.h,v 1.13 2011/05/18 12:53:04 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -112,8 +112,6 @@
extern void lapic_boot_init(paddr_t);
extern void lapic_set_lvt(void);
extern void lapic_enable(void);
-extern void lapic_suspend(void);
-extern void lapic_resume(void);
extern void lapic_calibrate_timer(struct cpu_info *ci);
extern void lapic_initclocks(void);
diff -r 5ad13b6d8916 -r 1a475c6e7707 sys/arch/x86/x86/lapic.c
--- a/sys/arch/x86/x86/lapic.c Wed May 18 12:11:46 2011 +0000
+++ b/sys/arch/x86/x86/lapic.c Wed May 18 12:53:04 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lapic.c,v 1.44 2009/11/21 03:11:01 rmind Exp $ */
+/* $NetBSD: lapic.c,v 1.45 2011/05/18 12:53:04 drochner Exp $ */
/*-
* Copyright (c) 2000, 2008 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.44 2009/11/21 03:11:01 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lapic.c,v 1.45 2011/05/18 12:53:04 drochner Exp $");
#include "opt_ddb.h"
#include "opt_mpbios.h" /* for MPDEBUG */
@@ -144,11 +144,6 @@
}
void
-lapic_suspend(void)
-{
-}
-
-void
lapic_set_lvt(void)
{
struct cpu_info *ci = curcpu();
Home |
Main Index |
Thread Index |
Old Index