diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-04-30 03:55:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:53 -0400 |
commit | c6f3a97f86a5c97be0ca255976110bb9c3cfe669 (patch) | |
tree | 95a7bf3c928a85b26aed128786fc09e18bc5dcfc /include/linux/poison.h | |
parent | 691cc54c7d28542434d2b3ee4ddbad6a99312dec (diff) |
debugobjects: add timer specific object debugging code
Add calls to the generic object debugging infrastructure and provide fixup
functions which allow to keep the system alive when recoverable problems have
been detected by the object debugging core code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Greg KH <greg@kroah.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/poison.h')
-rw-r--r-- | include/linux/poison.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/poison.h b/include/linux/poison.h index a9c31be7052c..9f31683728fd 100644 --- a/include/linux/poison.h +++ b/include/linux/poison.h | |||
@@ -10,6 +10,13 @@ | |||
10 | #define LIST_POISON1 ((void *) 0x00100100) | 10 | #define LIST_POISON1 ((void *) 0x00100100) |
11 | #define LIST_POISON2 ((void *) 0x00200200) | 11 | #define LIST_POISON2 ((void *) 0x00200200) |
12 | 12 | ||
13 | /********** include/linux/timer.h **********/ | ||
14 | /* | ||
15 | * Magic number "tsta" to indicate a static timer initializer | ||
16 | * for the object debugging code. | ||
17 | */ | ||
18 | #define TIMER_ENTRY_STATIC ((void *) 0x74737461) | ||
19 | |||
13 | /********** mm/slab.c **********/ | 20 | /********** mm/slab.c **********/ |
14 | /* | 21 | /* |
15 | * Magic nums for obj red zoning. | 22 | * Magic nums for obj red zoning. |