[PATCH] kill __beep

Hugh Dickins (hugh@veritas.com)
Fri, 14 Feb 2003 20:16:59 +0000 (GMT)


__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/