mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davide Libenzi <davidel@xmailserver.org>
To: Gautam Singaraju <gautam.singaraju@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: syscall macro fails upon compilation
Date: Thu, 5 Jul 2007 15:17:40 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0707051517010.23066@alien.or.mcafeemobile.com> (raw)
In-Reply-To: <f8b2ccd40707051509tcbce704y3e5b114580069039@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 444 bytes --]

On Thu, 5 Jul 2007, Gautam Singaraju wrote:

> I have been adding a syscall to the kernel (v 2.6.21); I am able to
> compile and boot into the kernel. However, the userspace macro fails
> to compile with the following message: "error: expected declaration
> specifiers or â...â before âmycallâ". I could not find any solution
> using google. I use the _syscall0 macro. Any suggestion would help.

Try a `man syscall`



- Davide


      parent reply	other threads:[~2007-07-05 22:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05 22:09 Gautam Singaraju
2007-07-05 22:13 ` H. Peter Anvin
2007-07-06 11:53   ` Andi Kleen
2007-07-06 15:55     ` Gautam Singaraju
2007-07-06 16:12       ` H. Peter Anvin
2007-07-06 16:11     ` H. Peter Anvin
2007-07-06 17:05       ` Andi Kleen
2007-07-06 17:19         ` H. Peter Anvin
2007-07-05 22:17 ` Davide Libenzi [this message]

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=Pine.LNX.4.64.0707051517010.23066@alien.or.mcafeemobile.com \
    --to=davidel@xmailserver.org \
    --cc=gautam.singaraju@gmail.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®