diff options
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index e6ee2d95da7a..b49affa0ac5a 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -185,6 +185,7 @@ extern enum system_states { | |||
185 | SYSTEM_HALT, | 185 | SYSTEM_HALT, |
186 | SYSTEM_POWER_OFF, | 186 | SYSTEM_POWER_OFF, |
187 | SYSTEM_RESTART, | 187 | SYSTEM_RESTART, |
188 | SYSTEM_SUSPEND_DISK, | ||
188 | } system_state; | 189 | } system_state; |
189 | 190 | ||
190 | #define TAINT_PROPRIETARY_MODULE (1<<0) | 191 | #define TAINT_PROPRIETARY_MODULE (1<<0) |
@@ -216,6 +217,7 @@ extern void dump_stack(void); | |||
216 | ((unsigned char *)&addr)[1], \ | 217 | ((unsigned char *)&addr)[1], \ |
217 | ((unsigned char *)&addr)[2], \ | 218 | ((unsigned char *)&addr)[2], \ |
218 | ((unsigned char *)&addr)[3] | 219 | ((unsigned char *)&addr)[3] |
220 | #define NIPQUAD_FMT "%u.%u.%u.%u" | ||
219 | 221 | ||
220 | #define NIP6(addr) \ | 222 | #define NIP6(addr) \ |
221 | ntohs((addr).s6_addr16[0]), \ | 223 | ntohs((addr).s6_addr16[0]), \ |
@@ -226,6 +228,8 @@ extern void dump_stack(void); | |||
226 | ntohs((addr).s6_addr16[5]), \ | 228 | ntohs((addr).s6_addr16[5]), \ |
227 | ntohs((addr).s6_addr16[6]), \ | 229 | ntohs((addr).s6_addr16[6]), \ |
228 | ntohs((addr).s6_addr16[7]) | 230 | ntohs((addr).s6_addr16[7]) |
231 | #define NIP6_FMT "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x" | ||
232 | #define NIP6_SEQFMT "%04x%04x%04x%04x%04x%04x%04x%04x" | ||
229 | 233 | ||
230 | #if defined(__LITTLE_ENDIAN) | 234 | #if defined(__LITTLE_ENDIAN) |
231 | #define HIPQUAD(addr) \ | 235 | #define HIPQUAD(addr) \ |