diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-h8300/timex.h | 2 | ||||
-rw-r--r-- | include/asm-ia64/iosapic.h | 2 | ||||
-rw-r--r-- | include/asm-mips/mach-au1x00/au1000.h | 9 | ||||
-rw-r--r-- | include/asm-mips/mach-au1x00/au1100_mmc.h | 7 | ||||
-rw-r--r-- | include/asm-powerpc/commproc.h | 3 | ||||
-rw-r--r-- | include/asm-s390/pgtable.h | 8 | ||||
-rw-r--r-- | include/asm-sparc/unistd.h | 9 | ||||
-rw-r--r-- | include/asm-sparc64/hypervisor.h | 4 | ||||
-rw-r--r-- | include/linux/netfilter_bridge.h | 3 | ||||
-rw-r--r-- | include/media/videobuf-core.h | 2 | ||||
-rw-r--r-- | include/scsi/scsi_device.h | 3 |
11 files changed, 35 insertions, 17 deletions
diff --git a/include/asm-h8300/timex.h b/include/asm-h8300/timex.h index 20413145fabb..23e67013439f 100644 --- a/include/asm-h8300/timex.h +++ b/include/asm-h8300/timex.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef _ASM_H8300_TIMEX_H | 6 | #ifndef _ASM_H8300_TIMEX_H |
7 | #define _ASM_H8300_TIMEX_H | 7 | #define _ASM_H8300_TIMEX_H |
8 | 8 | ||
9 | #define CLOCK_TICK_RATE CONFIG_CPU_CLOCK*1000/8192 /* Timer input freq. */ | 9 | #define CLOCK_TICK_RATE (CONFIG_CPU_CLOCK*1000/8192) /* Timer input freq. */ |
10 | 10 | ||
11 | typedef unsigned long cycles_t; | 11 | typedef unsigned long cycles_t; |
12 | extern short h8300_timer_count; | 12 | extern short h8300_timer_count; |
diff --git a/include/asm-ia64/iosapic.h b/include/asm-ia64/iosapic.h index b8f712859140..a3a4288daae8 100644 --- a/include/asm-ia64/iosapic.h +++ b/include/asm-ia64/iosapic.h | |||
@@ -80,7 +80,6 @@ extern int iosapic_remove (unsigned int gsi_base); | |||
80 | #else | 80 | #else |
81 | #define iosapic_remove(gsi_base) (-EINVAL) | 81 | #define iosapic_remove(gsi_base) (-EINVAL) |
82 | #endif /* CONFIG_HOTPLUG */ | 82 | #endif /* CONFIG_HOTPLUG */ |
83 | extern int gsi_to_vector (unsigned int gsi); | ||
84 | extern int gsi_to_irq (unsigned int gsi); | 83 | extern int gsi_to_irq (unsigned int gsi); |
85 | extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, | 84 | extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, |
86 | unsigned long trigger); | 85 | unsigned long trigger); |
@@ -94,7 +93,6 @@ extern int __init iosapic_register_platform_intr (u32 int_type, | |||
94 | u16 eid, u16 id, | 93 | u16 eid, u16 id, |
95 | unsigned long polarity, | 94 | unsigned long polarity, |
96 | unsigned long trigger); | 95 | unsigned long trigger); |
97 | extern unsigned int iosapic_version (char __iomem *addr); | ||
98 | 96 | ||
99 | #ifdef CONFIG_NUMA | 97 | #ifdef CONFIG_NUMA |
100 | extern void __devinit map_iosapic_to_node (unsigned int, int); | 98 | extern void __devinit map_iosapic_to_node (unsigned int, int); |
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h index bf7701243d71..cb18af989645 100644 --- a/include/asm-mips/mach-au1x00/au1000.h +++ b/include/asm-mips/mach-au1x00/au1000.h | |||
@@ -1680,10 +1680,11 @@ enum soc_au1200_ints { | |||
1680 | #define Au1500_PCI_MEM_START 0x440000000ULL | 1680 | #define Au1500_PCI_MEM_START 0x440000000ULL |
1681 | #define Au1500_PCI_MEM_END 0x44FFFFFFFULL | 1681 | #define Au1500_PCI_MEM_END 0x44FFFFFFFULL |
1682 | 1682 | ||
1683 | #define PCI_IO_START (Au1500_PCI_IO_START + 0x1000) | 1683 | #define PCI_IO_START 0x00001000 |
1684 | #define PCI_IO_END (Au1500_PCI_IO_END) | 1684 | #define PCI_IO_END 0x000FFFFF |
1685 | #define PCI_MEM_START (Au1500_PCI_MEM_START) | 1685 | #define PCI_MEM_START 0x40000000 |
1686 | #define PCI_MEM_END (Au1500_PCI_MEM_END) | 1686 | #define PCI_MEM_END 0x4FFFFFFF |
1687 | |||
1687 | #define PCI_FIRST_DEVFN (0<<3) | 1688 | #define PCI_FIRST_DEVFN (0<<3) |
1688 | #define PCI_LAST_DEVFN (19<<3) | 1689 | #define PCI_LAST_DEVFN (19<<3) |
1689 | 1690 | ||
diff --git a/include/asm-mips/mach-au1x00/au1100_mmc.h b/include/asm-mips/mach-au1x00/au1100_mmc.h index 9e7d1ba21b55..9e0028f60a43 100644 --- a/include/asm-mips/mach-au1x00/au1100_mmc.h +++ b/include/asm-mips/mach-au1x00/au1100_mmc.h | |||
@@ -41,8 +41,11 @@ | |||
41 | 41 | ||
42 | #define NUM_AU1100_MMC_CONTROLLERS 2 | 42 | #define NUM_AU1100_MMC_CONTROLLERS 2 |
43 | 43 | ||
44 | 44 | #if defined(CONFIG_SOC_AU1100) | |
45 | #define AU1100_SD_IRQ 2 | 45 | #define AU1100_SD_IRQ AU1100_SD_INT |
46 | #elif defined(CONFIG_SOC_AU1200) | ||
47 | #define AU1100_SD_IRQ AU1200_SD_INT | ||
48 | #endif | ||
46 | 49 | ||
47 | 50 | ||
48 | #define SD0_BASE 0xB0600000 | 51 | #define SD0_BASE 0xB0600000 |
diff --git a/include/asm-powerpc/commproc.h b/include/asm-powerpc/commproc.h index a2328b8addd8..2ee59d7b335c 100644 --- a/include/asm-powerpc/commproc.h +++ b/include/asm-powerpc/commproc.h | |||
@@ -698,9 +698,6 @@ typedef struct risc_timer_pram { | |||
698 | #define CICR_IEN ((uint)0x00000080) /* Int. enable */ | 698 | #define CICR_IEN ((uint)0x00000080) /* Int. enable */ |
699 | #define CICR_SPS ((uint)0x00000001) /* SCC Spread */ | 699 | #define CICR_SPS ((uint)0x00000001) /* SCC Spread */ |
700 | 700 | ||
701 | extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id); | ||
702 | extern void cpm_free_handler(int vec); | ||
703 | |||
704 | #define IMAP_ADDR (get_immrbase()) | 701 | #define IMAP_ADDR (get_immrbase()) |
705 | 702 | ||
706 | #define CPM_PIN_INPUT 0 | 703 | #define CPM_PIN_INPUT 0 |
diff --git a/include/asm-s390/pgtable.h b/include/asm-s390/pgtable.h index f2cc25b74adf..1f530f8a6280 100644 --- a/include/asm-s390/pgtable.h +++ b/include/asm-s390/pgtable.h | |||
@@ -453,12 +453,12 @@ static inline int pgd_bad(pgd_t pgd) { return 0; } | |||
453 | 453 | ||
454 | static inline int pud_present(pud_t pud) | 454 | static inline int pud_present(pud_t pud) |
455 | { | 455 | { |
456 | return pud_val(pud) & _REGION_ENTRY_ORIGIN; | 456 | return (pud_val(pud) & _REGION_ENTRY_ORIGIN) != 0UL; |
457 | } | 457 | } |
458 | 458 | ||
459 | static inline int pud_none(pud_t pud) | 459 | static inline int pud_none(pud_t pud) |
460 | { | 460 | { |
461 | return pud_val(pud) & _REGION_ENTRY_INV; | 461 | return (pud_val(pud) & _REGION_ENTRY_INV) != 0UL; |
462 | } | 462 | } |
463 | 463 | ||
464 | static inline int pud_bad(pud_t pud) | 464 | static inline int pud_bad(pud_t pud) |
@@ -471,12 +471,12 @@ static inline int pud_bad(pud_t pud) | |||
471 | 471 | ||
472 | static inline int pmd_present(pmd_t pmd) | 472 | static inline int pmd_present(pmd_t pmd) |
473 | { | 473 | { |
474 | return pmd_val(pmd) & _SEGMENT_ENTRY_ORIGIN; | 474 | return (pmd_val(pmd) & _SEGMENT_ENTRY_ORIGIN) != 0UL; |
475 | } | 475 | } |
476 | 476 | ||
477 | static inline int pmd_none(pmd_t pmd) | 477 | static inline int pmd_none(pmd_t pmd) |
478 | { | 478 | { |
479 | return pmd_val(pmd) & _SEGMENT_ENTRY_INV; | 479 | return (pmd_val(pmd) & _SEGMENT_ENTRY_INV) != 0UL; |
480 | } | 480 | } |
481 | 481 | ||
482 | static inline int pmd_bad(pmd_t pmd) | 482 | static inline int pmd_bad(pmd_t pmd) |
diff --git a/include/asm-sparc/unistd.h b/include/asm-sparc/unistd.h index 029b3e0d5e4c..0decdf763716 100644 --- a/include/asm-sparc/unistd.h +++ b/include/asm-sparc/unistd.h | |||
@@ -333,6 +333,15 @@ | |||
333 | 333 | ||
334 | #define NR_SYSCALLS 315 | 334 | #define NR_SYSCALLS 315 |
335 | 335 | ||
336 | /* Sparc 32-bit only has the "setresuid32", "getresuid32" variants, | ||
337 | * it never had the plain ones and there is no value to adding those | ||
338 | * old versions into the syscall table. | ||
339 | */ | ||
340 | #define __IGNORE_setresuid | ||
341 | #define __IGNORE_getresuid | ||
342 | #define __IGNORE_setresgid | ||
343 | #define __IGNORE_getresgid | ||
344 | |||
336 | #ifdef __KERNEL__ | 345 | #ifdef __KERNEL__ |
337 | #define __ARCH_WANT_IPC_PARSE_VERSION | 346 | #define __ARCH_WANT_IPC_PARSE_VERSION |
338 | #define __ARCH_WANT_OLD_READDIR | 347 | #define __ARCH_WANT_OLD_READDIR |
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h index 524d49835dfd..3ad45dff52f8 100644 --- a/include/asm-sparc64/hypervisor.h +++ b/include/asm-sparc64/hypervisor.h | |||
@@ -709,6 +709,10 @@ extern unsigned long sun4v_mmu_tsb_ctx0(unsigned long num_descriptions, | |||
709 | */ | 709 | */ |
710 | #define HV_FAST_MMU_DEMAP_ALL 0x24 | 710 | #define HV_FAST_MMU_DEMAP_ALL 0x24 |
711 | 711 | ||
712 | #ifndef __ASSEMBLY__ | ||
713 | extern void sun4v_mmu_demap_all(void); | ||
714 | #endif | ||
715 | |||
712 | /* mmu_map_perm_addr() | 716 | /* mmu_map_perm_addr() |
713 | * TRAP: HV_FAST_TRAP | 717 | * TRAP: HV_FAST_TRAP |
714 | * FUNCTION: HV_FAST_MMU_MAP_PERM_ADDR | 718 | * FUNCTION: HV_FAST_MMU_MAP_PERM_ADDR |
diff --git a/include/linux/netfilter_bridge.h b/include/linux/netfilter_bridge.h index 533ee351a273..499aa9375901 100644 --- a/include/linux/netfilter_bridge.h +++ b/include/linux/netfilter_bridge.h | |||
@@ -50,7 +50,8 @@ enum nf_br_hook_priorities { | |||
50 | extern int nf_bridge_copy_header(struct sk_buff *skb); | 50 | extern int nf_bridge_copy_header(struct sk_buff *skb); |
51 | static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb) | 51 | static inline int nf_bridge_maybe_copy_header(struct sk_buff *skb) |
52 | { | 52 | { |
53 | if (skb->nf_bridge) | 53 | if (skb->nf_bridge && |
54 | skb->nf_bridge->mask & (BRNF_BRIDGED | BRNF_BRIDGED_DNAT)) | ||
54 | return nf_bridge_copy_header(skb); | 55 | return nf_bridge_copy_header(skb); |
55 | return 0; | 56 | return 0; |
56 | } | 57 | } |
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index 0fa5d5912555..4fd5d0eaa935 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h | |||
@@ -208,6 +208,8 @@ int videobuf_cgmbuf(struct videobuf_queue *q, | |||
208 | int videobuf_streamon(struct videobuf_queue *q); | 208 | int videobuf_streamon(struct videobuf_queue *q); |
209 | int videobuf_streamoff(struct videobuf_queue *q); | 209 | int videobuf_streamoff(struct videobuf_queue *q); |
210 | 210 | ||
211 | void videobuf_stop(struct videobuf_queue *q); | ||
212 | |||
211 | int videobuf_read_start(struct videobuf_queue *q); | 213 | int videobuf_read_start(struct videobuf_queue *q); |
212 | void videobuf_read_stop(struct videobuf_queue *q); | 214 | void videobuf_read_stop(struct videobuf_queue *q); |
213 | ssize_t videobuf_read_stream(struct videobuf_queue *q, | 215 | ssize_t videobuf_read_stream(struct videobuf_queue *q, |
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 66e9058357e0..6c2d80b36aa1 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -242,6 +242,9 @@ extern struct scsi_device *__scsi_device_lookup_by_target(struct scsi_target *, | |||
242 | uint); | 242 | uint); |
243 | extern void starget_for_each_device(struct scsi_target *, void *, | 243 | extern void starget_for_each_device(struct scsi_target *, void *, |
244 | void (*fn)(struct scsi_device *, void *)); | 244 | void (*fn)(struct scsi_device *, void *)); |
245 | extern void __starget_for_each_device(struct scsi_target *, void *, | ||
246 | void (*fn)(struct scsi_device *, | ||
247 | void *)); | ||
245 | 248 | ||
246 | /* only exposed to implement shost_for_each_device */ | 249 | /* only exposed to implement shost_for_each_device */ |
247 | extern struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *, | 250 | extern struct scsi_device *__scsi_iterate_devices(struct Scsi_Host *, |