All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove silly beep macro from pgtable.h
@ 2001-05-15 16:45 Jeff Golds
  2001-05-15 17:36 ` Mike Galbraith
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Golds @ 2001-05-15 16:45 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-16  6:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-15 16:45 [PATCH] Remove silly beep macro from pgtable.h Jeff Golds
2001-05-15 17:36 ` Mike Galbraith
2001-05-15 18:57   ` Jonathan Lundell
2001-05-16  6:15     ` Mike Galbraith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.