Commit 02d79800a221eb4e54d80cbf2026af9edc1f437d
Committed by
Kyle McMartin
1 parent
4b991da7fe
Exists in
master
and in
7 other branches
[PARISC] Use C99 initializers in asm-parisc/processor.h
Cleanup asm-parisc/processor.h to use C99 initializers in INIT_THREAD(). Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Showing 1 changed file with 9 additions and 9 deletions Side-by-side Diff
include/asm-parisc/processor.h
... | ... | @@ -144,16 +144,16 @@ |
144 | 144 | }) |
145 | 145 | |
146 | 146 | #define INIT_THREAD { \ |
147 | - regs: { gr: { 0, }, \ | |
148 | - fr: { 0, }, \ | |
149 | - sr: { 0, }, \ | |
150 | - iasq: { 0, }, \ | |
151 | - iaoq: { 0, }, \ | |
152 | - cr27: 0, \ | |
147 | + .regs = { .gr = { 0, }, \ | |
148 | + .fr = { 0, }, \ | |
149 | + .sr = { 0, }, \ | |
150 | + .iasq = { 0, }, \ | |
151 | + .iaoq = { 0, }, \ | |
152 | + .cr27 = 0, \ | |
153 | 153 | }, \ |
154 | - task_size: DEFAULT_TASK_SIZE, \ | |
155 | - map_base: DEFAULT_MAP_BASE, \ | |
156 | - flags: 0 \ | |
154 | + .task_size = DEFAULT_TASK_SIZE, \ | |
155 | + .map_base = DEFAULT_MAP_BASE, \ | |
156 | + .flags = 0 \ | |
157 | 157 | } |
158 | 158 | |
159 | 159 | /* |