diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-11-10 09:29:07 -0500 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-11-10 09:29:07 -0500 |
commit | 8a87a0b6313109d2fea87b1271d497c954ce2ca8 (patch) | |
tree | 1b7ae51ff681e27118590e9cab4bf0ce38f5d80e /include/asm-s390/debug.h | |
parent | e6a04466ba965875a6132700fabb2f2c0249c41a (diff) | |
parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) |
Merge by hand (whitespace conflicts in libata.h)
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/asm-s390/debug.h')
-rw-r--r-- | include/asm-s390/debug.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-s390/debug.h b/include/asm-s390/debug.h index 7127030ae162..23450ed4b571 100644 --- a/include/asm-s390/debug.h +++ b/include/asm-s390/debug.h | |||
@@ -129,7 +129,7 @@ void debug_set_level(debug_info_t* id, int new_level); | |||
129 | 129 | ||
130 | void debug_stop_all(void); | 130 | void debug_stop_all(void); |
131 | 131 | ||
132 | extern inline debug_entry_t* | 132 | static inline debug_entry_t* |
133 | debug_event(debug_info_t* id, int level, void* data, int length) | 133 | debug_event(debug_info_t* id, int level, void* data, int length) |
134 | { | 134 | { |
135 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 135 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |
@@ -137,7 +137,7 @@ debug_event(debug_info_t* id, int level, void* data, int length) | |||
137 | return debug_event_common(id,level,data,length); | 137 | return debug_event_common(id,level,data,length); |
138 | } | 138 | } |
139 | 139 | ||
140 | extern inline debug_entry_t* | 140 | static inline debug_entry_t* |
141 | debug_int_event(debug_info_t* id, int level, unsigned int tag) | 141 | debug_int_event(debug_info_t* id, int level, unsigned int tag) |
142 | { | 142 | { |
143 | unsigned int t=tag; | 143 | unsigned int t=tag; |
@@ -146,7 +146,7 @@ debug_int_event(debug_info_t* id, int level, unsigned int tag) | |||
146 | return debug_event_common(id,level,&t,sizeof(unsigned int)); | 146 | return debug_event_common(id,level,&t,sizeof(unsigned int)); |
147 | } | 147 | } |
148 | 148 | ||
149 | extern inline debug_entry_t * | 149 | static inline debug_entry_t * |
150 | debug_long_event (debug_info_t* id, int level, unsigned long tag) | 150 | debug_long_event (debug_info_t* id, int level, unsigned long tag) |
151 | { | 151 | { |
152 | unsigned long t=tag; | 152 | unsigned long t=tag; |
@@ -155,7 +155,7 @@ debug_long_event (debug_info_t* id, int level, unsigned long tag) | |||
155 | return debug_event_common(id,level,&t,sizeof(unsigned long)); | 155 | return debug_event_common(id,level,&t,sizeof(unsigned long)); |
156 | } | 156 | } |
157 | 157 | ||
158 | extern inline debug_entry_t* | 158 | static inline debug_entry_t* |
159 | debug_text_event(debug_info_t* id, int level, const char* txt) | 159 | debug_text_event(debug_info_t* id, int level, const char* txt) |
160 | { | 160 | { |
161 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 161 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |
@@ -168,7 +168,7 @@ debug_sprintf_event(debug_info_t* id,int level,char *string,...) | |||
168 | __attribute__ ((format(printf, 3, 4))); | 168 | __attribute__ ((format(printf, 3, 4))); |
169 | 169 | ||
170 | 170 | ||
171 | extern inline debug_entry_t* | 171 | static inline debug_entry_t* |
172 | debug_exception(debug_info_t* id, int level, void* data, int length) | 172 | debug_exception(debug_info_t* id, int level, void* data, int length) |
173 | { | 173 | { |
174 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 174 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |
@@ -176,7 +176,7 @@ debug_exception(debug_info_t* id, int level, void* data, int length) | |||
176 | return debug_exception_common(id,level,data,length); | 176 | return debug_exception_common(id,level,data,length); |
177 | } | 177 | } |
178 | 178 | ||
179 | extern inline debug_entry_t* | 179 | static inline debug_entry_t* |
180 | debug_int_exception(debug_info_t* id, int level, unsigned int tag) | 180 | debug_int_exception(debug_info_t* id, int level, unsigned int tag) |
181 | { | 181 | { |
182 | unsigned int t=tag; | 182 | unsigned int t=tag; |
@@ -185,7 +185,7 @@ debug_int_exception(debug_info_t* id, int level, unsigned int tag) | |||
185 | return debug_exception_common(id,level,&t,sizeof(unsigned int)); | 185 | return debug_exception_common(id,level,&t,sizeof(unsigned int)); |
186 | } | 186 | } |
187 | 187 | ||
188 | extern inline debug_entry_t * | 188 | static inline debug_entry_t * |
189 | debug_long_exception (debug_info_t* id, int level, unsigned long tag) | 189 | debug_long_exception (debug_info_t* id, int level, unsigned long tag) |
190 | { | 190 | { |
191 | unsigned long t=tag; | 191 | unsigned long t=tag; |
@@ -194,7 +194,7 @@ debug_long_exception (debug_info_t* id, int level, unsigned long tag) | |||
194 | return debug_exception_common(id,level,&t,sizeof(unsigned long)); | 194 | return debug_exception_common(id,level,&t,sizeof(unsigned long)); |
195 | } | 195 | } |
196 | 196 | ||
197 | extern inline debug_entry_t* | 197 | static inline debug_entry_t* |
198 | debug_text_exception(debug_info_t* id, int level, const char* txt) | 198 | debug_text_exception(debug_info_t* id, int level, const char* txt) |
199 | { | 199 | { |
200 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) | 200 | if ((!id) || (level > id->level) || (id->pages_per_area == 0)) |