[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>
This commit is contained in:
parent
4b991da7fe
commit
02d79800a2
@ -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 \
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user