提交 02d79800 编写于 作者: A Alexey Dobriyan 提交者: 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: NAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: NMatthew Wilcox <matthew@wil.cx>
Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 4b991da7
......@@ -144,16 +144,16 @@ struct thread_struct {
})
#define INIT_THREAD { \
regs: { gr: { 0, }, \
fr: { 0, }, \
sr: { 0, }, \
iasq: { 0, }, \
iaoq: { 0, }, \
cr27: 0, \
.regs = { .gr = { 0, }, \
.fr = { 0, }, \
.sr = { 0, }, \
.iasq = { 0, }, \
.iaoq = { 0, }, \
.cr27 = 0, \
}, \
task_size: DEFAULT_TASK_SIZE, \
map_base: DEFAULT_MAP_BASE, \
flags: 0 \
.task_size = DEFAULT_TASK_SIZE, \
.map_base = DEFAULT_MAP_BASE, \
.flags = 0 \
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册