diff options
author | Jan Harkes <jaharkes@cs.cmu.edu> | 2019-07-16 19:28:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-07-16 22:23:23 -0400 |
commit | 2fe7491d219428a32f09948e88bfaf8e71b9a66b (patch) | |
tree | 19f59d9312602e544eadc358c714c19ccfec0a32 | |
parent | 9a05671dd8d85cbce6cf1a00727d5919c1e56192 (diff) |
uapi linux/coda_psdev.h: move CODA_REQ_ from uapi to kernel side headers
These constants only used internally and not exposed to userspace.
Link: http://lkml.kernel.org/r/baeafc30dad70d8b422ee679420099c2d8aa7da0.1558117389.git.jaharkes@cs.cmu.edu
Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Fabian Frederick <fabf@skynet.be>
Cc: Mikko Rapeli <mikko.rapeli@iki.fi>
Cc: Sam Protsenko <semen.protsenko@linaro.org>
Cc: Yann Droneaud <ydroneaud@opteya.com>
Cc: Zhouyang Jia <jiazhouyang09@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/coda_psdev.h | 5 | ||||
-rw-r--r-- | include/uapi/linux/coda_psdev.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h index d1672fd5e638..9487f792770c 100644 --- a/include/linux/coda_psdev.h +++ b/include/linux/coda_psdev.h | |||
@@ -31,6 +31,11 @@ struct upc_req { | |||
31 | wait_queue_head_t uc_sleep; /* process' wait queue */ | 31 | wait_queue_head_t uc_sleep; /* process' wait queue */ |
32 | }; | 32 | }; |
33 | 33 | ||
34 | #define CODA_REQ_ASYNC 0x1 | ||
35 | #define CODA_REQ_READ 0x2 | ||
36 | #define CODA_REQ_WRITE 0x4 | ||
37 | #define CODA_REQ_ABORT 0x8 | ||
38 | |||
34 | static inline struct venus_comm *coda_vcp(struct super_block *sb) | 39 | static inline struct venus_comm *coda_vcp(struct super_block *sb) |
35 | { | 40 | { |
36 | return (struct venus_comm *)((sb)->s_fs_info); | 41 | return (struct venus_comm *)((sb)->s_fs_info); |
diff --git a/include/uapi/linux/coda_psdev.h b/include/uapi/linux/coda_psdev.h index d50d51a57fe4..3dacb7fad66a 100644 --- a/include/uapi/linux/coda_psdev.h +++ b/include/uapi/linux/coda_psdev.h | |||
@@ -7,9 +7,4 @@ | |||
7 | #define CODA_PSDEV_MAJOR 67 | 7 | #define CODA_PSDEV_MAJOR 67 |
8 | #define MAX_CODADEVS 5 /* how many do we allow */ | 8 | #define MAX_CODADEVS 5 /* how many do we allow */ |
9 | 9 | ||
10 | #define CODA_REQ_ASYNC 0x1 | ||
11 | #define CODA_REQ_READ 0x2 | ||
12 | #define CODA_REQ_WRITE 0x4 | ||
13 | #define CODA_REQ_ABORT 0x8 | ||
14 | |||
15 | #endif /* _UAPI__CODA_PSDEV_H */ | 10 | #endif /* _UAPI__CODA_PSDEV_H */ |