public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-2.5.7
@ 2002-03-30 23:23 Timothy Murphy
  2002-03-30 23:41 ` linux-2.5.7 Alexander Viro
  2002-03-31  3:25 ` linux-2.5.7 Pierre Rousselet
  0 siblings, 2 replies; 13+ messages in thread
From: Timothy Murphy @ 2002-03-30 23:23 UTC (permalink / raw)
  To: linux-kernel

I'm sure this has been recognised,
but I would point out that sys_nfsservctl is not "undefined"
if NFSD is not chosen.

The following patch to .../arch/i386/kernel/entry.S corrects this,
though this is obviously not the right place to put it:

===============================================================
--- entry.S.bak	Mon Mar 18 20:37:09 2002
+++ entry.S	Thu Mar 28 15:59:20 2002
@@ -40,6 +40,11 @@
  * "current" is in register %ebx during any slow entries.
  */
 
+#if defined(CONFIG_NFSD) || defined(CONFIG_NFSD_MODULE)
+#else
+#define sys_nfsservctl		sys_ni_syscall
+#endif
+
 #include <linux/config.h>
 #include <linux/sys.h>
 #include <linux/linkage.h>
===============================================================

-- 
Timothy Murphy  
e-mail: tim@birdsnest.maths.tcd.ie
tel: 086-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: linux-2.5.7
@ 2002-03-30 23:48 Neil Brown
  2002-03-31  0:02 ` linux-2.5.7 Keith Owens
  0 siblings, 1 reply; 13+ messages in thread
From: Neil Brown @ 2002-03-30 23:48 UTC (permalink / raw)
  To: Alexander Viro; +Cc: Timothy Murphy, linux-kernel

On Saturday March 30, viro@math.psu.edu wrote:
> 
> 
> On Sat, 30 Mar 2002, Timothy Murphy wrote:
> 
> > I'm sure this has been recognised,
> > but I would point out that sys_nfsservctl is not "undefined"
> > if NFSD is not chosen.
> > 
> > The following patch to .../arch/i386/kernel/entry.S corrects this,
> > though this is obviously not the right place to put it:
> 
> Wrong fix.  Using weak aliases would do it in cleaner way, but there's
> a sparc64 toolchain bugs that don't allow that.

I cannot see the weak aliases being a real fix either.
If you compile with NFSD as a module, and with CONFIG_KMOD, then the
nfssvc_ctl systemcall is suppose to auto-load nfsd.o.  How can this be
achieved with weak aliases?

NeilBrown

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

end of thread, other threads:[~2002-04-04 14:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-30 23:23 linux-2.5.7 Timothy Murphy
2002-03-30 23:41 ` linux-2.5.7 Alexander Viro
2002-03-31  2:22   ` linux-2.5.7 David S. Miller
2002-03-31  7:54     ` linux-2.5.7 Alexander Viro
2002-03-31  8:30       ` linux-2.5.7 Andrew Morton
2002-03-31  8:42         ` linux-2.5.7 Alexander Viro
2002-04-04  9:42       ` linux-2.5.7 Richard Henderson
2002-04-04 14:45         ` linux-2.5.7 Alvaro Figueroa
2002-03-31  3:25 ` linux-2.5.7 Pierre Rousselet
2002-03-31  6:21   ` linux-2.5.7 David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2002-03-30 23:48 linux-2.5.7 Neil Brown
2002-03-31  0:02 ` linux-2.5.7 Keith Owens
2002-03-31  2:04   ` linux-2.5.7 Alexander Viro

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