diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-07-13 16:52:27 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-07-13 16:52:27 -0400 |
| commit | dbbcfb2211761fa69e831a78119c9288fb87eb9d (patch) | |
| tree | b40b103ed250e287bf3d4790f1c87001cf7cf52f /include/linux | |
| parent | b0356cd0e7497252a2c45ecb07b79d931390c8b2 (diff) | |
| parent | 9df2fe986770bc4c76e8fe72c20b71268eec39a7 (diff) | |
Merge branch 'linus' into x86/pci-ioapic-boot-irq-quirks
Conflicts:
arch/x86/mm/ioremap.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 15 | ||||
| -rw-r--r-- | include/linux/xfrm.h | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 9918772bf27..eddb6daadf4 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -189,6 +189,21 @@ static inline void ide_std_init_ports(hw_regs_t *hw, | |||
| 189 | hw->io_ports.ctl_addr = ctl_addr; | 189 | hw->io_ports.ctl_addr = ctl_addr; |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | /* for IDE PCI controllers in legacy mode, temporary */ | ||
| 193 | static inline int __ide_default_irq(unsigned long base) | ||
| 194 | { | ||
| 195 | switch (base) { | ||
| 196 | #ifdef CONFIG_IA64 | ||
| 197 | case 0x1f0: return isa_irq_to_vector(14); | ||
| 198 | case 0x170: return isa_irq_to_vector(15); | ||
| 199 | #else | ||
| 200 | case 0x1f0: return 14; | ||
| 201 | case 0x170: return 15; | ||
| 202 | #endif | ||
| 203 | } | ||
| 204 | return 0; | ||
| 205 | } | ||
| 206 | |||
| 192 | #include <asm/ide.h> | 207 | #include <asm/ide.h> |
| 193 | 208 | ||
| 194 | #if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) | 209 | #if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) |
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index 2ca6bae8872..fb0c215a305 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h | |||
| @@ -339,6 +339,7 @@ struct xfrm_usersa_info { | |||
| 339 | #define XFRM_STATE_NOPMTUDISC 4 | 339 | #define XFRM_STATE_NOPMTUDISC 4 |
| 340 | #define XFRM_STATE_WILDRECV 8 | 340 | #define XFRM_STATE_WILDRECV 8 |
| 341 | #define XFRM_STATE_ICMP 16 | 341 | #define XFRM_STATE_ICMP 16 |
| 342 | #define XFRM_STATE_AF_UNSPEC 32 | ||
| 342 | }; | 343 | }; |
| 343 | 344 | ||
| 344 | struct xfrm_usersa_id { | 345 | struct xfrm_usersa_id { |
