[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] linux: Allow microcode updates of smaller than default size.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1169045933 0
# Node ID 9fa13c7ebf8a650d515a2ddbafb49cf0932d736b
# Parent  e303a2f329ee6bdd935f3b80f322ce93efd1672b
linux: Allow microcode updates of smaller than default size.
Signed-off-by: Kurt Garloff <kurt@xxxxxxxxxx>
---
 linux-2.6-xen-sparse/arch/i386/kernel/microcode-xen.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e303a2f329ee -r 9fa13c7ebf8a 
linux-2.6-xen-sparse/arch/i386/kernel/microcode-xen.c
--- a/linux-2.6-xen-sparse/arch/i386/kernel/microcode-xen.c     Wed Jan 17 
14:57:59 2007 +0000
+++ b/linux-2.6-xen-sparse/arch/i386/kernel/microcode-xen.c     Wed Jan 17 
14:58:53 2007 +0000
@@ -85,7 +85,7 @@ static ssize_t microcode_write (struct f
 {
        ssize_t ret;
 
-       if (len < DEFAULT_UCODE_TOTALSIZE) {
+       if (len < MC_HEADER_SIZE) {
                printk(KERN_ERR "microcode: not enough data\n"); 
                return -EINVAL;
        }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.