Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

xen: relax signature check

Some versions of Xen 3.x set their magic number to "xen-3.[12]", so
relax the test to match them.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jeremy Fitzhardinge and committed by
Linus Torvalds
7999f4b4 c34c15b0

+1 -1
+1 -1
arch/x86/xen/enlighten.c
··· 1131 1131 if (!xen_start_info) 1132 1132 return; 1133 1133 1134 - BUG_ON(memcmp(xen_start_info->magic, "xen-3.0", 7) != 0); 1134 + BUG_ON(memcmp(xen_start_info->magic, "xen-3", 5) != 0); 1135 1135 1136 1136 /* Install Xen paravirt ops */ 1137 1137 pv_info = xen_info;