From dfb2bca529c57c6c9c0c56590763a215c74d5308 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 24 Apr 2014 21:44:54 -0400
Subject: [PATCH 108/414] panic: skip get_random_bytes for RT_FULL in
 init_oops_id

---
 kernel/panic.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/panic.c b/kernel/panic.c
index 639255d5e5e1..232bca8c8cbf 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -380,9 +380,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;
-- 
2.10.2

