From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: [PATCH 0 of 3] Portability: allow for non-x86 headers Date: Mon, 03 Dec 2007 15:30:22 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org These patches allow us to stop unconditionally including x86 headers, which allows us to provide alternative definitions. The first two just split things out to avoid circular header dependencies. In fact, with just a couple additional hacks, I was finally able to get a stub PowerPC implementation building. 7 files changed, 127 insertions(+), 70 deletions(-) drivers/kvm/i8259.c | 1 drivers/kvm/iodev.h | 63 ++++++++++++++++++++++++++++++++++++++++++ drivers/kvm/irq.h | 8 ++++- drivers/kvm/kvm.h | 72 ++++-------------------------------------------- drivers/kvm/kvm_main.c | 4 -- drivers/kvm/types.h | 41 +++++++++++++++++++++++++++ drivers/kvm/x86.h | 8 +++++ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4