Skip to content

Commit

Permalink
UAPI: Guard linux/cuda.h
Browse files Browse the repository at this point in the history
 
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>
  • Loading branch information
David Howells committed Dec 13, 2011
1 parent 6c9f2ef commit fde2845
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -34,3 +37,5 @@ extern int cuda_request(struct adb_request *req,
extern void cuda_poll(void);

#endif /* __KERNEL */

#endif /* _LINUX_CUDA_H */

0 comments on commit fde2845

Please sign in to comment.