Commit fde28451 authored by David Howells's avatar David Howells

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: default avatarDavid Howells <dhowells@redhat.com>
parent 6c9f2ef9
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
* Copyright (C) 1996 Paul Mackerras. * Copyright (C) 1996 Paul Mackerras.
*/ */
#ifndef _LINUX_CUDA_H
#define _LINUX_CUDA_H
/* CUDA commands (2nd byte) */ /* CUDA commands (2nd byte) */
#define CUDA_WARM_START 0 #define CUDA_WARM_START 0
#define CUDA_AUTOPOLL 1 #define CUDA_AUTOPOLL 1
...@@ -34,3 +37,5 @@ extern int cuda_request(struct adb_request *req, ...@@ -34,3 +37,5 @@ extern int cuda_request(struct adb_request *req,
extern void cuda_poll(void); extern void cuda_poll(void);
#endif /* __KERNEL */ #endif /* __KERNEL */
#endif /* _LINUX_CUDA_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment