mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-26 02:25:00 -05: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
1 changed files with 9 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue