diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2009-01-06 14:40:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:12 -0800 |
commit | d6624f996ae539344e8d748cce1117ae7af06fbf (patch) | |
tree | 0ad5d6f26fdac9a7d75c0bbce12e74ae2d1edeba /kernel/panic.c | |
parent | e899aa823ad74860a17b541b0ad38f513728923d (diff) | |
download | linux-next-d6624f996ae539344e8d748cce1117ae7af06fbf.tar.gz |
oops: increment the oops UUID every time we oops
... because we do want repeated same-oops to be seen by automated
tools like kerneloops.org
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 13f06349a786..2a2ff36ff44d 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -299,6 +299,8 @@ static int init_oops_id(void) { if (!oops_id) get_random_bytes(&oops_id, sizeof(oops_id)); + else + oops_id++; return 0; } |