diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-01-06 03:18:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:46 -0500 |
commit | 9010772cdff36072dd509ec72c1a55fccde8e58e (patch) | |
tree | b87fbf28462462b691b6f2bca382dd6188ef3dc1 /arch/um/include | |
parent | d571cd18f225542460b5d9b83e5e0d507be71656 (diff) |
[PATCH] uml: Add static initializations and declarations
Some structure fields were being dynamically initialized when they could be
initialized at compile-time instead. This also makes some declarations static
(in the C sense).
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/line.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/line.h b/arch/um/include/line.h index e22c9e0f2d02..351d3ac30b78 100644 --- a/arch/um/include/line.h +++ b/arch/um/include/line.h | |||
@@ -58,8 +58,8 @@ struct line { | |||
58 | #define LINE_INIT(str, d) \ | 58 | #define LINE_INIT(str, d) \ |
59 | { init_str : str, \ | 59 | { init_str : str, \ |
60 | init_pri : INIT_STATIC, \ | 60 | init_pri : INIT_STATIC, \ |
61 | chan_list : { }, \ | ||
62 | valid : 1, \ | 61 | valid : 1, \ |
62 | lock : SPIN_LOCK_UNLOCKED, \ | ||
63 | buffer : NULL, \ | 63 | buffer : NULL, \ |
64 | head : NULL, \ | 64 | head : NULL, \ |
65 | tail : NULL, \ | 65 | tail : NULL, \ |