diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 07:13:16 -0500 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2016-03-08 09:28:10 -0500 |
| commit | eb8666a246736d37b7e9f1f7cc28ced0e0498e8a (patch) | |
| tree | 820a6f47efa6923f4e4b81962e2ca9e509779ef5 | |
| parent | 5ba78d557e1c4f860c1e7cb4d2c780912f0f55e4 (diff) | |
GSN-EDF: fix wrong memset()
| -rw-r--r-- | litmus/sched_gsn_edf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index 6e2ff6fa689d..78da6230174b 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c | |||
| @@ -970,7 +970,7 @@ static void gsnedf_setup_domain_proc(void) | |||
| 970 | int num_rt_cpus = num_online_cpus() - (release_master != NO_CPU); | 970 | int num_rt_cpus = num_online_cpus() - (release_master != NO_CPU); |
| 971 | struct cd_mapping *map; | 971 | struct cd_mapping *map; |
| 972 | 972 | ||
| 973 | memset(&gsnedf_domain_proc_info, sizeof(gsnedf_domain_proc_info), 0); | 973 | memset(&gsnedf_domain_proc_info, 0, sizeof(gsnedf_domain_proc_info)); |
| 974 | init_domain_proc_info(&gsnedf_domain_proc_info, num_rt_cpus, 1); | 974 | init_domain_proc_info(&gsnedf_domain_proc_info, num_rt_cpus, 1); |
| 975 | gsnedf_domain_proc_info.num_cpus = num_rt_cpus; | 975 | gsnedf_domain_proc_info.num_cpus = num_rt_cpus; |
| 976 | gsnedf_domain_proc_info.num_domains = 1; | 976 | gsnedf_domain_proc_info.num_domains = 1; |
