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

[Xen-devel] [PATCH]Remove duplicate constant for the instruction length.


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Wed, 31 May 2006 12:14:21 +0200
  • Delivery-date: Wed, 31 May 2006 03:23:20 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcaEmv3sjhZ///fKSZWKdK+yFWfPCA==
  • Thread-topic: [PATCH]Remove duplicate constant for the instruction length.

In svm.c there is a definition for the max size of x86 instructions
MAX_INST_SIZE - there's also one in io.h, called MAX_INST_LEN. They are
both defined to the same value, 15. This patch removes the local copy in
svm.c [it was only referenced twice anyways, everywhere else was using
the MAX_INST_LEN constant]. 

Signed off by: Mats Petersson <mats.petersson@xxxxxxx>

--
Mats

Attachment: patch.inst_size
Description: patch.inst_size

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

 


Rackspace

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