iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
[linux/fpc-iii.git] / arch / x86 / include / asm / prom.h
blob1d081ac1cd69d24970d4f16c87dab9171f8fde71
1 /*
2 * Definitions for Device tree / OpenFirmware handling on X86
4 * based on arch/powerpc/include/asm/prom.h which is
5 * Copyright (C) 1996-2005 Paul Mackerras.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
13 #ifndef _ASM_X86_PROM_H
14 #define _ASM_X86_PROM_H
15 #ifndef __ASSEMBLY__
17 #include <linux/of.h>
18 #include <linux/types.h>
19 #include <linux/pci.h>
21 #include <asm/irq.h>
22 #include <linux/atomic.h>
23 #include <asm/setup.h>
25 #ifdef CONFIG_OF
26 extern int of_ioapic;
27 extern u64 initial_dtb;
28 extern void add_dtb(u64 data);
29 void x86_of_pci_init(void);
30 void x86_dtb_init(void);
31 #else
32 static inline void add_dtb(u64 data) { }
33 static inline void x86_of_pci_init(void) { }
34 static inline void x86_dtb_init(void) { }
35 #define of_ioapic 0
36 #endif
38 extern char cmd_line[COMMAND_LINE_SIZE];
40 #endif /* __ASSEMBLY__ */
41 #endif