Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michael Brennen <mbrennen@fni.com>
Subject: 2.1.5 segment.h patch
Date: Mon, 28 Oct 1996 13:00:56 -0600 (\x01)	[thread overview]
Message-ID: <7251146c4b7b5365f37aaa35ddce2071.axp-list@archive.invalid> (raw)

I've compiled and am running 2.1.5 on an Intel platform, and it went
without problems.  When I went to compile it on the Alpha, I had to make
the following patch to get it to work.  The fs/namei.c compile blew up
because of this.

Sorry if this has already been posted and I overlooked it.

   -- Michael

--- segment.h.orig	Mon Oct 28 12:53:27 1996
+++ segment.h	Mon Oct 28 12:37:23 1996
@@ -293,7 +293,7 @@
 	long __sfu_len = (n), __sfu_ret = -EFAULT;			      \
 	if (__access_ok(((long)__sfu_from),__sfu_len,__access_mask)) {	      \
 		__sfu_ret = __strncpy_from_user(__sfu_to,__sfu_from,	      \
-						__sfu_len, &current->tss.ex); \
+						__sfu_len, &current->tss.ex); } \
 	__sfu_ret;							      \
 })
 

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

                 reply	other threads:[~1996-10-28 19:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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