From: Paul Jackson <pj@sgi.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org,
Matthew Dobson <colpatch@us.ibm.com>,
William Lee Irwin III <wli@holomorphy.com>,
Rusty Russell <rusty@rustcorp.com.au>,
Joe Korty <joe.korty@ccur.com>, Jesse Barnes <jbarnes@sgi.com>
Subject: [PATCH mask 5/15] pj-fix-5-syscall-return-semicolon
Date: Thu, 6 May 2004 11:48:26 -0700 [thread overview]
Message-ID: <20040506114826.199feb1e.pj@sgi.com> (raw)
In-Reply-To: <20040506111814.62d1f537.pj@sgi.com>
Changes to system call return value were missing a semi-colon.
Index: 2.6.6-rc3-mm2-bitmapv5/include/asm-sparc/unistd.h
===================================================================
--- 2.6.6-rc3-mm2-bitmapv5.orig/include/asm-sparc/unistd.h 2004-05-06 03:57:38.000000000 -0700
+++ 2.6.6-rc3-mm2-bitmapv5/include/asm-sparc/unistd.h 2004-05-06 04:37:39.000000000 -0700
@@ -325,7 +325,7 @@
: "=r" (__res)\
: "r" (__g1) \
: "o0", "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall1(type,name,type1,arg1) \
@@ -342,7 +342,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall2(type,name,type1,arg1,type2,arg2) \
@@ -360,7 +360,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
@@ -379,7 +379,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
@@ -399,7 +399,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
@@ -421,7 +421,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#ifdef __KERNEL_SYSCALLS__
Index: 2.6.6-rc3-mm2-bitmapv5/include/asm-sparc64/unistd.h
===================================================================
--- 2.6.6-rc3-mm2-bitmapv5.orig/include/asm-sparc64/unistd.h 2004-05-06 03:57:38.000000000 -0700
+++ 2.6.6-rc3-mm2-bitmapv5/include/asm-sparc64/unistd.h 2004-05-06 04:37:39.000000000 -0700
@@ -324,7 +324,7 @@
: "=r" (__res)\
: "r" (__g1) \
: "o0", "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall1(type,name,type1,arg1) \
@@ -339,7 +339,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall2(type,name,type1,arg1,type2,arg2) \
@@ -355,7 +355,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
@@ -372,7 +372,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__o2), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
@@ -390,7 +390,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
@@ -410,7 +410,7 @@
: "=r" (__res), "=&r" (__o0) \
: "1" (__o0), "r" (__o1), "r" (__o2), "r" (__o3), "r" (__o4), "r" (__g1) \
: "cc"); \
- __syscall_return(type, __res) \
+ __syscall_return(type, __res); \
}
#ifdef __KERNEL_SYSCALLS__
Index: 2.6.6-rc3-mm2-bitmapv5/include/asm-mips/unistd.h
===================================================================
--- 2.6.6-rc3-mm2-bitmapv5.orig/include/asm-mips/unistd.h 2004-05-06 03:57:38.000000000 -0700
+++ 2.6.6-rc3-mm2-bitmapv5/include/asm-mips/unistd.h 2004-05-06 04:39:10.000000000 -0700
@@ -847,7 +847,7 @@
: "i" (__NR_##name) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
/*
@@ -871,7 +871,7 @@
: "r" (__a0), "i" (__NR_##name) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#define _syscall2(type,name,atype,a,btype,b) \
@@ -892,7 +892,7 @@
: "r" (__a0), "r" (__a1), "i" (__NR_##name) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#define _syscall3(type,name,atype,a,btype,b,ctype,c) \
@@ -914,7 +914,7 @@
: "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##name) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#define _syscall4(type,name,atype,a,btype,b,ctype,c,dtype,d) \
@@ -936,7 +936,7 @@
: "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##name) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#if (_MIPS_SIM == _MIPS_SIM_ABI32)
@@ -969,7 +969,7 @@
"m" ((unsigned long)e) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#define _syscall6(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e,ftype,f) \
@@ -998,7 +998,7 @@
"m" ((unsigned long)e), "m" ((unsigned long)f) \
: "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#endif /* (_MIPS_SIM == _MIPS_SIM_ABI32) */
@@ -1025,7 +1025,7 @@
: "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##name) \
: "$2","$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#define _syscall6(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e,ftype,f) \
@@ -1050,7 +1050,7 @@
"i" (__NR_##name) \
: "$2","$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24"); \
\
- __syscall_return(type, __v0) \
+ __syscall_return(type, __v0); \
}
#endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.650.933.1373
next prev parent reply other threads:[~2004-05-06 19:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 18:18 [PATCH mask 0/15] bitmap and cpumask cleanup Paul Jackson
2004-05-06 18:46 ` [PATCH mask 1/15] pj-fix-1-unifix Paul Jackson
2004-05-06 20:05 ` Matt Mackall
2004-05-06 20:15 ` Paul Jackson
2004-05-06 20:36 ` Paul Jackson
2004-05-06 18:48 ` [PATCH mask 2/15] pj-fix-2-ashoks-updated-cpuhotplug-6-7 Paul Jackson
2004-05-06 18:48 ` [PATCH mask 3/15] pj-fix-3-ashoks-updated-cpuhotplug-7-7 Paul Jackson
2004-05-06 18:48 ` [PATCH mask 4/15] pj-fix-4-include-mempolicy Paul Jackson
2004-05-06 18:48 ` Paul Jackson [this message]
2004-05-06 18:48 ` [PATCH mask 6/15] nonsmp-cpu-present-map Paul Jackson
2004-05-06 18:48 ` [PATCH mask 7/15] mask1-bitmap-cleanup-prep Paul Jackson
2004-05-06 18:48 ` [PATCH mask 8/15] mask2-bitmap-extensions Paul Jackson
2004-05-06 18:48 ` [PATCH mask 9/15] mask3-unline-find-next-bit-ia64 Paul Jackson
2004-05-06 18:48 ` [PATCH mask 10/15] mask4-new-cpumask-h Paul Jackson
2004-05-06 18:48 ` [PATCH mask 11/15] mask5-remove-old-cpumask-files Paul Jackson
2004-05-06 18:49 ` [PATCH mask 12/15] mask6-cpumask-i386-fixup Paul Jackson
2004-05-06 18:49 ` [PATCH mask 13/15] mask7-cpumask-etc-fixup Paul Jackson
2004-05-06 18:49 ` [PATCH mask 14/15] mask8-rm-old-cpumask-emul Paul Jackson
2004-05-06 18:49 ` [PATCH mask 15/15] mask9-post-cleanup-tweaks Paul Jackson
2004-05-07 9:53 ` [PATCH mask 0/15] bitmap and cpumask cleanup Paul Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040506114826.199feb1e.pj@sgi.com \
--to=pj@sgi.com \
--cc=akpm@osdl.org \
--cc=colpatch@us.ibm.com \
--cc=jbarnes@sgi.com \
--cc=joe.korty@ccur.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox