Re: [Linux-ia64] kernel 2.5.69 doesn't compile for UP

From: Andreas Schwab <schwab_at_suse.de>
Date: 2003-05-15 04:55:56
Matthew Wilcox <willy@debian.org> writes:

|> On Wed, May 14, 2003 at 10:32:14AM -0700, David Mosberger wrote:
|> >   Matthew> Yuck.  The right way to do this is
|> >   Matthew> read_trylock(&tasklist_lock); The observant will have
|> >   Matthew> noted:
|> > 
|> >   Matthew> /* Where's read_trylock? */
|> > 
|> >   Matthew> in include/linux/spinlock.h but that doen't justify _not
|> >   Matthew> writing it_ when you need it.
|> > 
|> > You want to send me a patch? ;-)
|> 
|> Yes, I'd love to ;-)  I just need to fix your 2.5.69 patch so it'll compile :-P
|> $ find -type f |xargs grep compat_sys_setaffinity
|> ./arch/ia64/ia32/ia32_entry.S:  data8 compat_sys_setaffinity
|> Binary file ./arch/ia64/ia32/ia32_entry.o matches
|> Binary file ./arch/ia64/ia32/built-in.o matches

--- linux-2.5.69/arch/ia64/ia32/ia32_entry.S.~1~	2003-05-14 12:14:33.000000000 +0200
+++ linux-2.5.69/arch/ia64/ia32/ia32_entry.S	2003-05-14 12:57:22.000000000 +0200
@@ -439,8 +439,8 @@ ia32_syscall_table:
 	data8 sys_ni_syscall
 	data8 sys_ni_syscall
 	data8 compat_sys_futex	/* 240 */
-	data8 compat_sys_setaffinity
-	data8 compat_sys_getaffinity
+	data8 compat_sys_sched_setaffinity
+	data8 compat_sys_sched_getaffinity
 	data8 sys_ni_syscall
 	data8 sys_ni_syscall
 	data8 sys_ni_syscall	/* 245 */

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Received on Wed May 14 11:56:03 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST