From a8bee30fc69d935675bbbe2f93ac1ba62160bfb9 Mon Sep 17 00:00:00 2001 From: Peter Oruba Date: Fri, 1 Aug 2008 12:46:46 +0200 Subject: [PATCH] --- yaml --- r: 113332 b: refs/heads/master c: 636a31781684d0f49208aa163f1a5a3a74210eb4 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/microcode.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 741576f675e4..cbbffae0ee92 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d33dcb9e7d272cc3171dcc3a21049902185ab03d +refs/heads/master: 636a31781684d0f49208aa163f1a5a3a74210eb4 diff --git a/trunk/arch/x86/kernel/microcode.c b/trunk/arch/x86/kernel/microcode.c index 39961bb83293..ad136ad99cb3 100644 --- a/trunk/arch/x86/kernel/microcode.c +++ b/trunk/arch/x86/kernel/microcode.c @@ -127,7 +127,8 @@ static int do_microcode_update(void) old = current->cpus_allowed; while ((cursor = microcode_ops->get_next_ucode(&new_mc, cursor)) > 0) { - error = microcode_ops->microcode_sanity_check(new_mc); + if (microcode_ops->microcode_sanity_check != NULL) + error = microcode_ops->microcode_sanity_check(new_mc); if (error) goto out; /*