diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-11 02:48:02 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-11 03:52:45 +0100 |
commit | 02d79800a221eb4e54d80cbf2026af9edc1f437d (patch) | |
tree | d0cb719b61cdac3310f3579f07c12cd6c28c7667 /include/asm-parisc/processor.h | |
parent | [PARISC] pdc_stable: More robust sysfs error checking (diff) | |
download | linux-02d79800a221eb4e54d80cbf2026af9edc1f437d.tar.xz 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>
Diffstat (limited to 'include/asm-parisc/processor.h')
-rw-r--r-- | include/asm-parisc/processor.h | 18 |
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 \ } /* |