From: "Imre Kaloz" <kaloz@openwrt.org>
To: linux-mips@linux-mips.org
Subject: [PATCH] use __always_inline for __xchg
Date: Sat, 29 Jan 2005 17:54:44 +0100 [thread overview]
Message-ID: <op.sldiliqr2s3iss@richese> (raw)
[-- Attachment #1: Type: text/plain, Size: 269 bytes --]
The following patch changes inline for __xchg to __always_inline in
include/asm-mips/system.h, following the changes in git. Without this
change linking the kernel fails.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
[-- Attachment #2: use-__always_inline-for-__xchg.patch --]
[-- Type: application/octet-stream, Size: 504 bytes --]
--- linux-2.6.15.1.old/include/asm-mips/system.h 2006-01-28 15:02:54.481032280 +0100
+++ linux-2.6.15.1.dev/include/asm-mips/system.h 2006-01-28 14:47:51.634285848 +0100
@@ -273,7 +273,7 @@
if something tries to do an invalid xchg(). */
extern void __xchg_called_with_bad_pointer(void);
-static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
+static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size)
{
switch (size) {
case 4:
next reply other threads:[~2006-01-28 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-29 16:54 Imre Kaloz [this message]
2009-11-24 13:26 ` [PATCH] use __always_inline for __xchg Ralf Baechle
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=op.sldiliqr2s3iss@richese \
--to=kaloz@openwrt.org \
--cc=linux-mips@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.