Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b74e2082
Commit
b74e2082
authored
Apr 26, 2008
by
Dave Airlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: _end is shadowing real _end, just rename it.
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
ac741ab7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/char/drm/drm_fops.c
drivers/char/drm/drm_fops.c
+2
-2
No files found.
drivers/char/drm/drm_fops.c
View file @
b74e2082
...
...
@@ -345,7 +345,7 @@ int drm_release(struct inode *inode, struct file *filp)
if
(
drm_i_have_hw_lock
(
dev
,
file_priv
))
{
dev
->
driver
->
reclaim_buffers_locked
(
dev
,
file_priv
);
}
else
{
unsigned
long
_end
=
jiffies
+
3
*
DRM_HZ
;
unsigned
long
endtime
=
jiffies
+
3
*
DRM_HZ
;
int
locked
=
0
;
drm_idlelock_take
(
&
dev
->
lock
);
...
...
@@ -363,7 +363,7 @@ int drm_release(struct inode *inode, struct file *filp)
if
(
locked
)
break
;
schedule
();
}
while
(
!
time_after_eq
(
jiffies
,
_end
));
}
while
(
!
time_after_eq
(
jiffies
,
endtime
));
if
(
!
locked
)
{
DRM_ERROR
(
"reclaim_buffers_locked() deadlock. Please rework this
\n
"
...
...
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