projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c34c15b
)
xen: relax signature check
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Mon, 10 Dec 2007 21:00:41 +0000
(13:00 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 11 Dec 2007 03:46:58 +0000
(19:46 -0800)
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>
arch/x86/xen/enlighten.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/enlighten.c
b/arch/x86/xen/enlighten.c
index 94c39aaf695facf3d3937633306bb7e5b17d41fd..b6af3ea43c7308b3e513272ccb5c9c0f6c224717 100644
(file)
--- a/
arch/x86/xen/enlighten.c
+++ b/
arch/x86/xen/enlighten.c
@@
-1131,7
+1131,7
@@
asmlinkage void __init xen_start_kernel(void)
if (!xen_start_info)
return;
- BUG_ON(memcmp(xen_start_info->magic, "xen-3
.0", 7
) != 0);
+ BUG_ON(memcmp(xen_start_info->magic, "xen-3
", 5
) != 0);
/* Install Xen paravirt ops */
pv_info = xen_info;