diff options
Diffstat (limited to 'include/linux/shm.h')
-rw-r--r-- | include/linux/shm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/shm.h b/include/linux/shm.h index 92808b86703b..edd086883ccb 100644 --- a/include/linux/shm.h +++ b/include/linux/shm.h | |||
@@ -107,12 +107,14 @@ struct shmid_kernel /* private to the kernel */ | |||
107 | #define SHM_NORESERVE 010000 /* don't check for reservations */ | 107 | #define SHM_NORESERVE 010000 /* don't check for reservations */ |
108 | 108 | ||
109 | #ifdef CONFIG_SYSVIPC | 109 | #ifdef CONFIG_SYSVIPC |
110 | long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr); | 110 | long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, |
111 | unsigned long shmlba); | ||
111 | extern int is_file_shm_hugepages(struct file *file); | 112 | extern int is_file_shm_hugepages(struct file *file); |
112 | extern void exit_shm(struct task_struct *task); | 113 | extern void exit_shm(struct task_struct *task); |
113 | #else | 114 | #else |
114 | static inline long do_shmat(int shmid, char __user *shmaddr, | 115 | static inline long do_shmat(int shmid, char __user *shmaddr, |
115 | int shmflg, unsigned long *addr) | 116 | int shmflg, unsigned long *addr, |
117 | unsigned long shmlba) | ||
116 | { | 118 | { |
117 | return -ENOSYS; | 119 | return -ENOSYS; |
118 | } | 120 | } |