From: Mike Frysinger <vapier@gentoo.org>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] _syscall0() and gettid()
Date: Sun, 26 Dec 2004 04:26:09 -0500 [thread overview]
Message-ID: <200412260426.09042.vapier@gentoo.org> (raw)
In-Reply-To: <200412250217.28635.vapier@gentoo.org>
On Saturday 25 December 2004 02:17 am, Mike Frysinger wrote:
> gettid.c: In function `gettid':
> gettid.c:5: error: parse error before ')' token
ok, the error is K_INLINE_SYSCALL in asm/unistd.h in the last if statement:
__sys_res = (long)__res; \
} \
if ( (unsigned long)__sys_res >= (unsigned long)-4095 ){ \
- errno = -__sys_res); \
+ errno = -__sys_res; \
__sys_res = -1; \
} \
__sys_res; \
that assignment to errno ... the parentheses is unbalanced ... i guess it
could just be removed altogether :)
-mike
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2004-12-26 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-25 7:17 [parisc-linux] _syscall0() and gettid() Mike Frysinger
2004-12-26 9:26 ` Mike Frysinger [this message]
2004-12-26 16:38 ` Matthew Wilcox
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=200412260426.09042.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=parisc-linux@lists.parisc-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox