]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.kabi/abi-fix-add-epoll_devs-back-to-struct-user_struct.patch
Imported linux-2.6.27.39 suse/xen patches.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.kabi / abi-fix-add-epoll_devs-back-to-struct-user_struct.patch
CommitLineData
2cb7cef9
BS
1From: Greg Kroah-Hartman <gregkh@suse.de>
2Subject: ABI fix: add epoll_devs back to struct user_struct
3
4This is only to keep the ABI stable for now, this patch
5needs to be removed next chance we get when the ABI changes
6as it's not needed at all.
7
8This is here because 2.6.27.14 removes this field.
9
10Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
11
12---
13 include/linux/sched.h | 1 +
14 1 file changed, 1 insertion(+)
15
16--- a/include/linux/sched.h
17+++ b/include/linux/sched.h
18@@ -589,6 +589,7 @@ struct user_struct {
19 atomic_t inotify_devs; /* How many inotify devs does this user have opened? */
20 #endif
21 #ifdef CONFIG_EPOLL
22+ atomic_t epoll_devs; /* DO NOT USE, ONLY HERE TO KEEP ABI STABLE */
23 atomic_t epoll_watches; /* The number of file descriptors currently watched */
24 #endif
25 #ifdef CONFIG_POSIX_MQUEUE