All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] apm.c redclares savesegment
@ 2002-12-30 11:59 Christoph Hellwig
  2003-01-02 15:45 ` Stephen Rothwell
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2002-12-30 11:59 UTC (permalink / raw)
  To: sfr, torvalds; +Cc: linux-kernel

.. but it could just use the generic version


--- 1.40/arch/i386/kernel/apm.c	Sun Nov 17 15:18:07 2002
+++ edited/arch/i386/kernel/apm.c	Mon Dec 30 02:10:53 2002
@@ -331,12 +331,6 @@
 #define DEFAULT_BOUNCE_INTERVAL		(3 * HZ)
 
 /*
- * Save a segment register away
- */
-#define savesegment(seg, where) \
-		__asm__ __volatile__("movl %%" #seg ",%0" : "=m" (where))
-
-/*
  * Maximum number of events stored
  */
 #define APM_MAX_EVENTS		20

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

end of thread, other threads:[~2003-01-02 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-30 11:59 [PATCH] apm.c redclares savesegment Christoph Hellwig
2003-01-02 15:45 ` Stephen Rothwell

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.