Re: [PATCH 1/7] KVM: userspace interface

From: Avi Kivity
Date: Sun Oct 22 2006 - 04:19:59 EST


Arnd Bergmann wrote:
On Friday 20 October 2006 09:16, Avi Kivity wrote:
Jan Engelhardt wrote:
+#ifndef __user
+#define __user
+#endif
SHRUG. You should include <linux/compiler.h> instead of doing that. (And
on top, it may happen that compiler.h is automatically slurped in like
config.h, someone else could answer that)
This is for userspace. If there's a better solution I'll happily
incorporate it.

It should just work without this, when you do 'make headers_install'.
See the top of scripts/Makefile.headersinst.

Arnd <><

I'll remove it. Thanks.

--
error compiling committee.c: too many arguments to function

-
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/