diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-04-10 00:19:04 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:19:04 (GMT) |
commit | 1ba2a0b1f0b6ec80afc57debe8c46c42df9c78e2 (patch) | |
tree | 1a91a9aa5a7fdfb6ee6041aca5326664eecb8382 | |
parent | 1badc49efd65489f4811eaf42a1f164665f93343 (diff) | |
download | linux-fsl-qoriq-1ba2a0b1f0b6ec80afc57debe8c46c42df9c78e2.tar.xz |
panic: skip get_random_bytes for RT_FULL in init_oops_id
-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 b6c482c..936d00f 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -368,9 +368,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; |