Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
dma_ip_drivers
Commits
e316ccf3
Commit
e316ccf3
authored
Dec 20, 2019
by
Karen Xie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xdma 2019.2 update: make sure the thread context are set up properly before starting
parent
c7712d79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
XDMA/linux-kernel/xdma/xdma_thread.c
XDMA/linux-kernel/xdma/xdma_thread.c
+2
-2
No files found.
XDMA/linux-kernel/xdma/xdma_thread.c
View file @
e316ccf3
...
@@ -299,11 +299,11 @@ int xdma_threads_create(unsigned int num_threads)
...
@@ -299,11 +299,11 @@ int xdma_threads_create(unsigned int num_threads)
for
(
i
=
0
;
i
<
thread_cnt
;
i
++
,
thp
++
)
{
for
(
i
=
0
;
i
<
thread_cnt
;
i
++
,
thp
++
)
{
thp
->
cpu
=
i
;
thp
->
cpu
=
i
;
thp
->
timeout
=
0
;
thp
->
timeout
=
0
;
thp
->
fproc
=
xdma_thread_cmpl_status_proc
;
thp
->
fpending
=
xdma_thread_cmpl_status_pend
;
rv
=
xdma_kthread_start
(
thp
,
"cmpl_status_th"
,
i
);
rv
=
xdma_kthread_start
(
thp
,
"cmpl_status_th"
,
i
);
if
(
rv
<
0
)
if
(
rv
<
0
)
goto
cleanup_threads
;
goto
cleanup_threads
;
thp
->
fproc
=
xdma_thread_cmpl_status_proc
;
thp
->
fpending
=
xdma_thread_cmpl_status_pend
;
}
}
return
0
;
return
0
;
...
...
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