mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATH] binutils-2.16.90.0.3 kernel-2.4.30 apm.c
@ 2005-05-21 21:03 Herbert Rosmanith
  0 siblings, 0 replies; only message in thread
From: Herbert Rosmanith @ 2005-05-21 21:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: Herbert Rosmanith


sorry, I didn't notice this file also affected (see previous email)
probably there are other places around too.... I probably should
recompile with all kernel-options enabled.

anyway ...


--- linux-2.4.30/arch/i386/kernel/apm.c Mon Aug 25 13:44:39 2003
+++ linux-2.4.30.rescue/arch/i386/kernel/apm.c  Sat May 21 22:54:50 2005
@@ -15,6 +15,8 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
  *
+ * Sat May 21 22:54:03 MEST 2005 herp - Herbert Rosmanith
+ *    make it compile with as-2.16 again
  * October 1995, Rik Faith (faith@cs.unc.edu):
  *    Minor enhancements and updates (to the patch set) for 1.3.x
  *    Documentation
@@ -327,7 +329,7 @@
  * Save a segment register away
  */
 #define savesegment(seg, where) \
-               __asm__ __volatile__("movl %%" #seg ",%0" : "=m" (where))
+               __asm__ __volatile__("movw %%" #seg ",%0" : "=m" (where))
 
 /*
  * Maximum number of events stored


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-21 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-21 21:03 [PATH] binutils-2.16.90.0.3 kernel-2.4.30 apm.c Herbert Rosmanith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®