summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-28 13:52:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-28 13:52:14 +0000
commit5098898d97409e22f159fa41f1a70e7e597000b7 (patch)
treedec89218f3a3462cf0ea393a4d4dfdfc46674bd9
parent99f04d9d7ef091fcef1d91ea5f3ce572136ece9e (diff)
downloadrtems-5098898d97409e22f159fa41f1a70e7e597000b7.tar.bz2
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/bsp.h: include <libcpu/cpu.h>. * console/console.c: Remove unused variable console_open_count.
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/ChangeLog5
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/console/console.c2
-rw-r--r--c/src/lib/libbsp/i386/ts_386ex/include/bsp.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/i386/ts_386ex/ChangeLog b/c/src/lib/libbsp/i386/ts_386ex/ChangeLog
index 10742e84d7..3aa1db670e 100644
--- a/c/src/lib/libbsp/i386/ts_386ex/ChangeLog
+++ b/c/src/lib/libbsp/i386/ts_386ex/ChangeLog
@@ -1,5 +1,10 @@
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * include/bsp.h: include <libcpu/cpu.h>.
+ * console/console.c: Remove unused variable console_open_count.
+
+2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
diff --git a/c/src/lib/libbsp/i386/ts_386ex/console/console.c b/c/src/lib/libbsp/i386/ts_386ex/console/console.c
index e1a0a08bb1..49fd3cb69f 100644
--- a/c/src/lib/libbsp/i386/ts_386ex/console/console.c
+++ b/c/src/lib/libbsp/i386/ts_386ex/console/console.c
@@ -188,8 +188,6 @@ console_initialize(rtems_device_major_number major,
} /* console_initialize */
-static int console_open_count = 0;
-
static int console_last_close(int major, int minor, void *arg)
{
BSP_remove_rtems_irq_handler (&console_isr_data);
diff --git a/c/src/lib/libbsp/i386/ts_386ex/include/bsp.h b/c/src/lib/libbsp/i386/ts_386ex/include/bsp.h
index b6351010c3..78c2eecde0 100644
--- a/c/src/lib/libbsp/i386/ts_386ex/include/bsp.h
+++ b/c/src/lib/libbsp/i386/ts_386ex/include/bsp.h
@@ -26,6 +26,7 @@ extern "C" {
#include <console.h>
#include <clockdrv.h>
#include <rtems/bspIo.h>
+#include <libcpu/cpu.h>
#include <irq.h>
/*