Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+5
+5
include/linux/cuda.h
··· 5 5 * Copyright (C) 1996 Paul Mackerras. 6 6 */ 7 7 8 + #ifndef _LINUX_CUDA_H 9 + #define _LINUX_CUDA_H 10 + 8 11 /* CUDA commands (2nd byte) */ 9 12 #define CUDA_WARM_START 0 10 13 #define CUDA_AUTOPOLL 1 ··· 37 34 extern void cuda_poll(void); 38 35 39 36 #endif /* __KERNEL */ 37 + 38 + #endif /* _LINUX_CUDA_H */