syscall macro fails upon compilation

From: Gautam Singaraju
Date: Thu Jul 05 2007 - 18:09:54 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/