summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan2006-01-11 02:48:02 +0100
committerKyle McMartin2006-01-11 03:52:45 +0100
commit02d79800a221eb4e54d80cbf2026af9edc1f437d (patch)
treed0cb719b61cdac3310f3579f07c12cd6c28c7667
parent[PARISC] pdc_stable: More robust sysfs error checking (diff)
downloadkernel-qcow2-linux-02d79800a221eb4e54d80cbf2026af9edc1f437d.tar.gz
kernel-qcow2-linux-02d79800a221eb4e54d80cbf2026af9edc1f437d.tar.xz
kernel-qcow2-linux-02d79800a221eb4e54d80cbf2026af9edc1f437d.zip
[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>
-rw-r--r--include/asm-parisc/processor.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/asm-parisc/processor.h b/include/asm-parisc/processor.h
index aae40e8c3aa8..89f2f1c16c12 100644
--- a/include/asm-parisc/processor.h
+++ b/include/asm-parisc/processor.h
@@ -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 \
}
/*