mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04: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 <[email protected]> Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
This commit is contained in:
1 parent
4b991da7fe
commit
02d79800a2
1 file changed
+9
-9
@@ -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 \
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user