[PATCH] Remove silly beep macro from pgtable.h

Jeff Golds (jgolds@resilience.com)
Tue, 15 May 2001 09:45:13 -0700


Hi folks,

Found this bit of unused code in the i386 and sh architectures. As it's not being used, let's get rid of it. Also, pgtable.h seems to be an odd place for this.

-Jeff

diff -u -r linux-2.4.4.pure/include/asm-i386/pgtable.h linux-2.4.4/include/asm-i386/pgtable.h
--- linux-2.4.4.pure/include/asm-i386/pgtable.h Fri Apr 27 15:48:21 2001
+++ linux-2.4.4/include/asm-i386/pgtable.h Tue May 15 09:12:24 2001
@@ -110,8 +110,6 @@
#endif
#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)
diff -u -r linux-2.4.4.pure/include/asm-sh/pgtable.h linux-2.4.4/include/asm-sh/pgtable.h
--- linux-2.4.4.pure/include/asm-sh/pgtable.h Wed Apr 11 21:24:52 2001
+++ linux-2.4.4/include/asm-sh/pgtable.h Tue May 15 09:35:29 2001
@@ -72,8 +72,6 @@

#include <asm/pgtable-2level.h>

-#define __beep() asm("")
-
#define PMD_SIZE (1UL << PMD_SHIFT)
#define PMD_MASK (~(PMD_SIZE-1))
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)

-- 
Jeff Golds
jgolds@resilience.com
-
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/