Now the ioapic driver provides a common interface to create irqdomain, so replace the private implementation. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Grant Likely <grant.likely@linaro.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Tony Lindgren <tony@atomide.com> Link: http://lkml.kernel.org/r/1402302011-23642-29-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			1 KiB
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1 KiB
			
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Definitions for Device tree / OpenFirmware handling on X86
 | 
						|
 *
 | 
						|
 * based on arch/powerpc/include/asm/prom.h which is
 | 
						|
 *         Copyright (C) 1996-2005 Paul Mackerras.
 | 
						|
 *
 | 
						|
 * This program is free software; you can redistribute it and/or
 | 
						|
 * modify it under the terms of the GNU General Public License
 | 
						|
 * as published by the Free Software Foundation; either version
 | 
						|
 * 2 of the License, or (at your option) any later version.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _ASM_X86_PROM_H
 | 
						|
#define _ASM_X86_PROM_H
 | 
						|
#ifndef __ASSEMBLY__
 | 
						|
 | 
						|
#include <linux/of.h>
 | 
						|
#include <linux/types.h>
 | 
						|
#include <linux/pci.h>
 | 
						|
 | 
						|
#include <asm/irq.h>
 | 
						|
#include <linux/atomic.h>
 | 
						|
#include <asm/setup.h>
 | 
						|
 | 
						|
#ifdef CONFIG_OF
 | 
						|
extern int of_ioapic;
 | 
						|
extern u64 initial_dtb;
 | 
						|
extern void add_dtb(u64 data);
 | 
						|
void x86_of_pci_init(void);
 | 
						|
void x86_dtb_init(void);
 | 
						|
#else
 | 
						|
static inline void add_dtb(u64 data) { }
 | 
						|
static inline void x86_of_pci_init(void) { }
 | 
						|
static inline void x86_dtb_init(void) { }
 | 
						|
#define of_ioapic 0
 | 
						|
#endif
 | 
						|
 | 
						|
extern char cmd_line[COMMAND_LINE_SIZE];
 | 
						|
 | 
						|
#endif /* __ASSEMBLY__ */
 | 
						|
#endif
 |