diff options
| author | Len Brown <len.brown@intel.com> | 2006-01-06 16:34:21 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2006-01-06 16:34:21 -0500 |
| commit | 25da0974601fc8096461f3d3f7ca3aab8e79adfb (patch) | |
| tree | f9b3c1bfbc63fdb6a94e82177b8c3ae891125422 /include/asm-alpha | |
| parent | 036d25f79ddfbc9878da24ef8e468a6d22caa605 (diff) | |
| parent | d99cf9d679a520d67f81d805b7cb91c68e1847f0 (diff) | |
Auto-update from upstream
Diffstat (limited to 'include/asm-alpha')
| -rw-r--r-- | include/asm-alpha/atomic.h | 1 | ||||
| -rw-r--r-- | include/asm-alpha/bitops.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 |
5 files changed, 6 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/bitops.h b/include/asm-alpha/bitops.h index 578ed3f1a607..302201f1a097 100644 --- a/include/asm-alpha/bitops.h +++ b/include/asm-alpha/bitops.h | |||
| @@ -321,6 +321,7 @@ static inline int fls(int word) | |||
| 321 | #else | 321 | #else |
| 322 | #define fls generic_fls | 322 | #define fls generic_fls |
| 323 | #endif | 323 | #endif |
| 324 | #define fls64 generic_fls64 | ||
| 324 | 325 | ||
| 325 | /* Compute powers of two for the given integer. */ | 326 | /* Compute powers of two for the given integer. */ |
| 326 | static inline long floor_log2(unsigned long word) | 327 | static inline long floor_log2(unsigned long word) |
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 |
