summaryrefslogtreecommitdiff
path: root/include/linux/cuda.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-12-13 09:26:45 +0000
committerDavid Howells <dhowells@redhat.com>2011-12-13 09:26:45 +0000
commitfde28451359b476ba065a9a16fa83aa44168fe59 (patch)
tree86d6077f54657479052e4e91aeb76623ef1169f2 /include/linux/cuda.h
parent6c9f2ef9b5b3a84952ba2f99472f82e3398ac3e9 (diff)
downloadlwn-fde28451359b476ba065a9a16fa83aa44168fe59.tar.gz
lwn-fde28451359b476ba065a9a16fa83aa44168fe59.zip
UAPI: Guard linux/cuda.h
Place reinclusion guards on linux/cuda.h otherwise the UAPI splitter script won't insert a #include to make the kernel header include the UAPI header. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/linux/cuda.h')
-rw-r--r--include/linux/cuda.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cuda.h b/include/linux/cuda.h
index 6a3e6385d3f3..9f9865ff781e 100644
--- a/include/linux/cuda.h
+++ b/include/linux/cuda.h
@@ -5,6 +5,9 @@
* Copyright (C) 1996 Paul Mackerras.
*/
+#ifndef _LINUX_CUDA_H
+#define _LINUX_CUDA_H
+
/* CUDA commands (2nd byte) */
#define CUDA_WARM_START 0
#define CUDA_AUTOPOLL 1
@@ -34,3 +37,5 @@ extern int cuda_request(struct adb_request *req,
extern void cuda_poll(void);
#endif /* __KERNEL */
+
+#endif /* _LINUX_CUDA_H */