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
Kirill Smelkov
linux
Commits
bf590c40
Commit
bf590c40
authored
Mar 20, 2003
by
Dave Jones
Committed by
Linus Torvalds
Mar 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Remove old DRM4.0 code.
Old patch from John Kim to remove old DRM 4.0 code in 2.5.59.
parent
582b70ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/char/drm/i830_dma.c
drivers/char/drm/i830_dma.c
+1
-7
No files found.
drivers/char/drm/i830_dma.c
View file @
bf590c40
...
...
@@ -40,12 +40,6 @@
#include <linux/interrupt.h>
/* For task queue support */
#include <linux/delay.h>
#ifdef DO_MUNMAP_4_ARGS
#define DO_MUNMAP(m, a, l) do_munmap(m, a, l, 1)
#else
#define DO_MUNMAP(m, a, l) do_munmap(m, a, l)
#endif
#define I830_BUF_FREE 2
#define I830_BUF_CLIENT 1
#define I830_BUF_HARDWARE 0
...
...
@@ -230,7 +224,7 @@ static int i830_unmap_buffer(drm_buf_t *buf)
return
-
EINVAL
;
down_write
(
&
current
->
mm
->
mmap_sem
);
retcode
=
DO_MUNMAP
(
current
->
mm
,
retcode
=
do_munmap
(
current
->
mm
,
(
unsigned
long
)
buf_priv
->
virtual
,
(
size_t
)
buf
->
total
);
up_write
(
&
current
->
mm
->
mmap_sem
);
...
...
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