Commit e38316f
committed
cpukinds: fix register() after dup()
Properly initialize nr_cpukinds_allocated in dup()
so that future extensions don't break.
Thansk to Hadrien Grasland for the report.
Closes #683.
Signed-off-by: Brice Goglin <[email protected]>1 parent 8716dc2 commit e38316f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
0 commit comments