Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advLigoRTS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CDS
software
advLigoRTS
Commits
8ea1108d
Commit
8ea1108d
authored
2 years ago
by
Erik von Reis
Browse files
Options
Downloads
Patches
Plain Diff
RCG: added some missing semicolons
parent
b24e8224
No related branches found
Branches containing commit
No related tags found
2 merge requests
!439
RCG 5.0 release fro deb 10
,
!400
New cpu isolator symbols deb10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/drv/rts-cpu-isolator/rts-cpu-isolator.h
+2
-2
2 additions, 2 deletions
src/drv/rts-cpu-isolator/rts-cpu-isolator.h
with
2 additions
and
2 deletions
src/drv/rts-cpu-isolator/rts-cpu-isolator.h
+
2
−
2
View file @
8ea1108d
...
...
@@ -48,8 +48,8 @@ extern void set_fe_code_idle( play_dead_handler_fp_t rt_runner_func, unsigned in
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5,6,0)
static
inline
int
rts_isolator_exec
(
unsigned
int
CPU_ID
){
return
cpu_down
(
CPU_ID
);
}
static
inline
int
rts_isolator_cleanup
(
unsigned
int
CPU_ID
){
return
cpu_up
(
CPU_ID
);
}
static
inline
int
is_cpu_occupied
(
unsigned
int
cpu
)
{
return
is_cpu_taken_by_rcg_model
(
cpu
)
};
static
inline
void
set_rt_callback
(
play_dead_handler_fp_t
rt_runner_func
,
unsigned
int
cpu
)
{
return
set_fe_code_idle
(
rt_runner_func
,
cpu
)};
static
inline
int
is_cpu_occupied
(
unsigned
int
cpu
)
{
return
is_cpu_taken_by_rcg_model
(
cpu
)
;
};
static
inline
void
set_rt_callback
(
play_dead_handler_fp_t
rt_runner_func
,
unsigned
int
cpu
)
{
return
set_fe_code_idle
(
rt_runner_func
,
cpu
)
;
};
#else //This is 5.10.0 and newer, caller interface is the same between versions
static
inline
int
rts_isolator_exec
(
unsigned
int
CPU_ID
){
return
remove_cpu
(
CPU_ID
);
}
static
inline
int
rts_isolator_cleanup
(
unsigned
int
CPU_ID
){
return
add_cpu
(
CPU_ID
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment