diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-10 20:48:02 -0500 |
|---|---|---|
| committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-10 21:52:45 -0500 |
| commit | 02d79800a221eb4e54d80cbf2026af9edc1f437d (patch) | |
| tree | d0cb719b61cdac3310f3579f07c12cd6c28c7667 | |
| parent | 4b991da7fec9b87acf86c250332ce15c2811255b (diff) | |
[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.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 { | |||
| 144 | }) | 144 | }) |
| 145 | 145 | ||
| 146 | #define INIT_THREAD { \ | 146 | #define INIT_THREAD { \ |
| 147 | regs: { gr: { 0, }, \ | 147 | .regs = { .gr = { 0, }, \ |
| 148 | fr: { 0, }, \ | 148 | .fr = { 0, }, \ |
| 149 | sr: { 0, }, \ | 149 | .sr = { 0, }, \ |
| 150 | iasq: { 0, }, \ | 150 | .iasq = { 0, }, \ |
| 151 | iaoq: { 0, }, \ | 151 | .iaoq = { 0, }, \ |
| 152 | cr27: 0, \ | 152 | .cr27 = 0, \ |
| 153 | }, \ | 153 | }, \ |
| 154 | task_size: DEFAULT_TASK_SIZE, \ | 154 | .task_size = DEFAULT_TASK_SIZE, \ |
| 155 | map_base: DEFAULT_MAP_BASE, \ | 155 | .map_base = DEFAULT_MAP_BASE, \ |
| 156 | flags: 0 \ | 156 | .flags = 0 \ |
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | /* | 159 | /* |
