Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2da13211
Commit
2da13211
authored
Oct 09, 2003
by
Arun Sharma
Committed by
David Mosberger
Oct 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: fix ia32 epoll emulation warnings
parent
fc2ece26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/ia64/ia32/sys_ia32.c
arch/ia64/ia32/sys_ia32.c
+3
-2
No files found.
arch/ia64/ia32/sys_ia32.c
View file @
2da13211
...
...
@@ -2779,7 +2779,8 @@ sys32_epoll_wait(int epfd, struct epoll_event32 *events, int maxevents,
size
=
maxevents
*
sizeof
(
struct
epoll_event
);
events64
=
kmalloc
(
size
,
GFP_KERNEL
);
if
(
events64
==
NULL
)
{
events64
=
__get_free_pages
(
GFP_KERNEL
,
get_order
(
size
));
events64
=
(
struct
epoll_event
*
)
__get_free_pages
(
GFP_KERNEL
,
get_order
(
size
));
if
(
events64
==
NULL
)
return
-
ENOMEM
;
do_free_pages
=
1
;
...
...
@@ -2805,7 +2806,7 @@ sys32_epoll_wait(int epfd, struct epoll_event32 *events, int maxevents,
}
if
(
do_free_pages
)
free_pages
(
events64
,
get_order
(
size
));
free_pages
(
(
unsigned
long
)
events64
,
get_order
(
size
));
else
kfree
(
events64
);
return
numevents
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment