Commit 87f77cf
Jyri Sarha
vregion: remove need to include rtos/alloc.h in !CONFIG_SOF_VREGIONS build
Remove need to include rtos/alloc.h in !CONFIG_SOF_VREGIONS build. We
do not need the dummy vregion objects for anything, so get rid of
them. From now on creating a vregion object when CONFIG_SOF_VREGIONS
is not defined will fail.
Also make sure the vregions is not tried to be used if its not
enabled. Even before this change the failure would have happened
couple of lines later.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 1f4b8f0 commit 87f77cf
2 files changed
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | 128 | | |
131 | 129 | | |
132 | 130 | | |
133 | 131 | | |
134 | 132 | | |
135 | 133 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 134 | + | |
140 | 135 | | |
141 | 136 | | |
142 | 137 | | |
143 | | - | |
144 | | - | |
145 | 138 | | |
146 | 139 | | |
147 | 140 | | |
148 | 141 | | |
149 | | - | |
150 | | - | |
151 | 142 | | |
152 | 143 | | |
153 | 144 | | |
| |||
0 commit comments