aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-11-13 11:44:39 -0500
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-11-16 10:57:05 -0800
commit744f9f104ea262de1dc3e29265870c649f0d9473 (patch)
treea8d3f6eba549bb162cf8173f86d799f35c87ebb7 /include/xen
parente060e7af98182494b764d002eba7fa022fe91bdf (diff)
downloadmrst-s0i3-test-744f9f104ea262de1dc3e29265870c649f0d9473.tar.gz
mrst-s0i3-test-744f9f104ea262de1dc3e29265870c649f0d9473.tar.xz
mrst-s0i3-test-744f9f104ea262de1dc3e29265870c649f0d9473.zip
xen: fix header export to userspace
scripts/headers_install.pl prevents "__user" from being exported to userspace headers, so just use compiler.h to make sure that __user is defined and avoid the error. unifdef: linux-next-20101112/xx64/usr/include/xen/privcmd.h.tmp: 79: Premature EOF (#if line 33 depth 1) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: xen-devel@lists.xensource.com (moderated for non-subscribers) Cc: virtualization@lists.osdl.org Cc: Tony Finch <dot@dotat.at> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/privcmd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/xen/privcmd.h b/include/xen/privcmd.h
index b42cdfd92fe..17857fb4d55 100644
--- a/include/xen/privcmd.h
+++ b/include/xen/privcmd.h
@@ -34,13 +34,10 @@
#define __LINUX_PUBLIC_PRIVCMD_H__
#include <linux/types.h>
+#include <linux/compiler.h>
typedef unsigned long xen_pfn_t;
-#ifndef __user
-#define __user
-#endif
-
struct privcmd_hypercall {
__u64 op;
__u64 arg[5];