mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 16:46:23 +08:00
[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 { \
|
||||
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 \
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user