On 08/16/2009 04:09 AM, Mohammed Gamal wrote:

+static void emulate_push_sreg(struct x86_emulate_ctxt *ctxt, int seg)
+{
+       struct decode_cache *c =&ctxt->decode;
+       c->src.ptr = (unsigned long *)&c->regs[seg];
+       emulate_push(ctxt);
+}
+

This can't be right. c->regs[] is the general purpose register array, not the segment registers.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to