mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gautam Singaraju" <gautam.singaraju@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: syscall macro fails upon compilation
Date: Thu, 5 Jul 2007 15:09:44 -0700	[thread overview]
Message-ID: <f8b2ccd40707051509tcbce704y3e5b114580069039@mail.gmail.com> (raw)

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.
Thanks!
---
Gautam Singaraju

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05 22:09 Gautam Singaraju [this message]
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

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=f8b2ccd40707051509tcbce704y3e5b114580069039@mail.gmail.com \
    --to=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®