Commit 02d79800 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Kyle McMartin

[PARISC] Use C99 initializers in asm-parisc/processor.h

Cleanup asm-parisc/processor.h to use C99 initializers in
INIT_THREAD().
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 4b991da7
...@@ -144,16 +144,16 @@ struct thread_struct { ...@@ -144,16 +144,16 @@ struct thread_struct {
}) })
#define INIT_THREAD { \ #define INIT_THREAD { \
regs: { gr: { 0, }, \ .regs = { .gr = { 0, }, \
fr: { 0, }, \ .fr = { 0, }, \
sr: { 0, }, \ .sr = { 0, }, \
iasq: { 0, }, \ .iasq = { 0, }, \
iaoq: { 0, }, \ .iaoq = { 0, }, \
cr27: 0, \ .cr27 = 0, \
}, \ }, \
task_size: DEFAULT_TASK_SIZE, \ .task_size = DEFAULT_TASK_SIZE, \
map_base: DEFAULT_MAP_BASE, \ .map_base = DEFAULT_MAP_BASE, \
flags: 0 \ .flags = 0 \
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment