lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kill __beep
__beep() is used nowhere, and should not be defined in pgtable.h.

asm-i386/bug.h | 3 +--
asm-i386/pgtable.h | 2 --
asm-parisc/bug.h | 5 +----
asm-sh/pgtable.h | 2 --
4 files changed, 2 insertions(+), 10 deletions(-)

Hugh

--- 2.5.60/include/asm-i386/bug.h Tue Jan 14 12:17:45 2003
+++ linux/include/asm-i386/bug.h Fri Feb 14 19:54:02 2003
@@ -4,8 +4,7 @@
#include <linux/config.h>

/*
- * Tell the user there is some problem. Beep too, so we can
- * see^H^H^Hhear bugs in early bootup as well!
+ * Tell the user there is some problem.
* The offending file and line are encoded after the "officially
* undefined" opcode for parsing in the trap handler.
*/
--- 2.5.60/include/asm-i386/pgtable.h Mon Feb 10 20:12:52 2003
+++ linux/include/asm-i386/pgtable.h Fri Feb 14 19:54:02 2003
@@ -49,8 +49,6 @@

#endif

-#define __beep() asm("movb $0x3,%al; outb %al,$0x61")
-
#define PMD_SIZE (1UL << PMD_SHIFT)
#define PMD_MASK (~(PMD_SIZE-1))
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
--- 2.5.60/include/asm-parisc/bug.h Tue Jan 14 12:17:45 2003
+++ linux/include/asm-parisc/bug.h Fri Feb 14 19:54:02 2003
@@ -2,10 +2,7 @@
#define _PARISC_BUG_H

/*
- * Tell the user there is some problem. Beep too, so we can
- * see^H^H^Hhear bugs in early bootup as well!
- *
- * We don't beep yet. prumpf
+ * Tell the user there is some problem.
*/
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
--- 2.5.60/include/asm-sh/pgtable.h Mon Sep 16 05:51:51 2002
+++ linux/include/asm-sh/pgtable.h Fri Feb 14 19:54:02 2003
@@ -98,8 +98,6 @@

#endif /* !__ASSEMBLY__ */

-#define __beep() asm("")
-
#define PMD_SIZE (1UL << PMD_SHIFT)
#define PMD_MASK (~(PMD_SIZE-1))
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.068 / U:28.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site