diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-04-10 14:34:04 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-05-20 13:45:58 -0400 |
commit | ab2972496dea47cb33896c5a9b4bc231490cef2e (patch) | |
tree | 0faf15e87df5f1978323e2edd9ee0482fa1fab91 | |
parent | a2e958aa74b5489f396d615296389ad3e846645d (diff) | |
download | linux-rt-ab2972496dea47cb33896c5a9b4bc231490cef2e.tar.gz |
panic-disable-random-on-rt
-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 3458469eb7c3..50f4de50e779 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -343,9 +343,11 @@ static u64 oops_id; static int init_oops_id(void) { +#ifndef CONFIG_PREEMPT_RT_FULL if (!oops_id) get_random_bytes(&oops_id, sizeof(oops_id)); else +#endif oops_id++; return 0; |