diff options
Diffstat (limited to 'include/asm-alpha')
-rw-r--r-- | include/asm-alpha/atomic.h | 1 | ||||
-rw-r--r-- | include/asm-alpha/dma-mapping.h | 2 | ||||
-rw-r--r-- | include/asm-alpha/hardirq.h | 2 | ||||
-rw-r--r-- | include/asm-alpha/mman.h | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-alpha/atomic.h b/include/asm-alpha/atomic.h index 6183eab006d4..cb03bbe92cdf 100644 --- a/include/asm-alpha/atomic.h +++ b/include/asm-alpha/atomic.h | |||
@@ -216,4 +216,5 @@ static __inline__ long atomic64_sub_return(long i, atomic64_t * v) | |||
216 | #define smp_mb__before_atomic_inc() smp_mb() | 216 | #define smp_mb__before_atomic_inc() smp_mb() |
217 | #define smp_mb__after_atomic_inc() smp_mb() | 217 | #define smp_mb__after_atomic_inc() smp_mb() |
218 | 218 | ||
219 | #include <asm-generic/atomic.h> | ||
219 | #endif /* _ALPHA_ATOMIC_H */ | 220 | #endif /* _ALPHA_ATOMIC_H */ |
diff --git a/include/asm-alpha/dma-mapping.h b/include/asm-alpha/dma-mapping.h index 680f7ecbb28f..9dc7256cf979 100644 --- a/include/asm-alpha/dma-mapping.h +++ b/include/asm-alpha/dma-mapping.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #define dma_free_coherent(dev, size, va, addr) \ | 16 | #define dma_free_coherent(dev, size, va, addr) \ |
17 | pci_free_consistent(alpha_gendev_to_pci(dev), size, va, addr) | 17 | pci_free_consistent(alpha_gendev_to_pci(dev), size, va, addr) |
18 | #define dma_map_page(dev, page, off, size, dir) \ | 18 | #define dma_map_page(dev, page, off, size, dir) \ |
19 | pci_map_single(alpha_gendev_to_pci(dev), page, off, size, dir) | 19 | pci_map_page(alpha_gendev_to_pci(dev), page, off, size, dir) |
20 | #define dma_unmap_page(dev, addr, size, dir) \ | 20 | #define dma_unmap_page(dev, addr, size, dir) \ |
21 | pci_unmap_page(alpha_gendev_to_pci(dev), addr, size, dir) | 21 | pci_unmap_page(alpha_gendev_to_pci(dev), addr, size, dir) |
22 | #define dma_map_sg(dev, sg, nents, dir) \ | 22 | #define dma_map_sg(dev, sg, nents, dir) \ |
diff --git a/include/asm-alpha/hardirq.h b/include/asm-alpha/hardirq.h index c0593f9b21e1..7bb6a36c96a1 100644 --- a/include/asm-alpha/hardirq.h +++ b/include/asm-alpha/hardirq.h | |||
@@ -13,6 +13,8 @@ typedef struct { | |||
13 | 13 | ||
14 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | 14 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |
15 | 15 | ||
16 | void ack_bad_irq(unsigned int irq); | ||
17 | |||
16 | #define HARDIRQ_BITS 12 | 18 | #define HARDIRQ_BITS 12 |
17 | 19 | ||
18 | /* | 20 | /* |
diff --git a/include/asm-alpha/mman.h b/include/asm-alpha/mman.h index eb9c279045ef..f6439532a262 100644 --- a/include/asm-alpha/mman.h +++ b/include/asm-alpha/mman.h | |||
@@ -42,6 +42,7 @@ | |||
42 | #define MADV_WILLNEED 3 /* will need these pages */ | 42 | #define MADV_WILLNEED 3 /* will need these pages */ |
43 | #define MADV_SPACEAVAIL 5 /* ensure resources are available */ | 43 | #define MADV_SPACEAVAIL 5 /* ensure resources are available */ |
44 | #define MADV_DONTNEED 6 /* don't need these pages */ | 44 | #define MADV_DONTNEED 6 /* don't need these pages */ |
45 | #define MADV_REMOVE 7 /* remove these pages & resources */ | ||
45 | 46 | ||
46 | /* compatibility flags */ | 47 | /* compatibility flags */ |
47 | #define MAP_ANON MAP_ANONYMOUS | 48 | #define MAP_ANON MAP_ANONYMOUS |