Skip to contentSkip to conversation

qemu/ia64 include prototype for qemu_mallocz

PATCH Applied Jes Sorensen 2 participants 2 messages Apr 21, 2008 – Apr 22, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu/ia64 include prototype for qemu_mallocz

Hi,

This one fixes a segfault problem I am seeing on ia64 due to the malloc'ed address being truncated to 32 bit.

Cheers,
Jes

Include qemu-common.h for the prototype for qemu_mallocz to avoid the being truncated to 32 bit.

---
 target-ia64/op_helper.c |    1 +
 1 file changed, 1 insertion(+)
target-ia64/op_helper.c +1 -0
Index: qemu/target-ia64/op_helper.c
===================================================================
@@ -25,6 +25,7 @@
 #include "exec-all.h"
 
 #include "qemu-kvm.h"
+#include "qemu-common.h"
 
 CPUState *cpu_ia64_init(char *cpu_model){
     CPUState *env;

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Applied
#1 lore raw
Quoted 5 lines · Jes Sorensen

Hi,

This one fixes a segfault problem I am seeing on ia64 due to the malloc'ed address being truncated to 32 bit.

Applied, thanks.

Signature · 8 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone