]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 24 May 2006 08:22:21 +0000 (09:22 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 24 May 2006 08:22:21 +0000 (09:22 +0100)
Conflicts:

include/asm-powerpc/unistd.h
include/asm-sparc/unistd.h
include/asm-sparc64/unistd.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
18 files changed:
1  2 
include/asm-i386/io_apic.h
include/asm-powerpc/unistd.h
include/asm-ppc/page.h
include/asm-s390/unistd.h
include/asm-sparc/unistd.h
include/asm-sparc64/dma-mapping.h
include/asm-sparc64/unistd.h
include/asm-x86_64/io_apic.h
include/linux/device.h
include/linux/fs.h
include/linux/mmzone.h
include/linux/netdevice.h
include/linux/serial_core.h
include/linux/slab.h
include/linux/swap.h
include/linux/syscalls.h
include/net/irda/irlmp.h
include/net/sctp/sctp.h

Simple merge
index 9e2c9e1c1239abc76e229d572075ea7fe1516cf5,edde2462bf52d59709e4c1cf6ffd1e61205707a6..eb66eae6616fb3026dbf38f966afff686664601c
  #define __NR_readlinkat               296
  #define __NR_fchmodat         297
  #define __NR_faccessat                298
+ #define __NR_get_robust_list  299
+ #define __NR_set_robust_list  300
  
- #define __NR_syscalls         299
 +#ifdef __KERNEL__
 +
+ #define __NR_syscalls         301
  
 -#ifdef __KERNEL__
  #define __NR__exit __NR_exit
  #define NR_syscalls   __NR_syscalls
 -#endif
  
  #ifndef __ASSEMBLY__
  
Simple merge
Simple merge
index 5489c5a3c777c11de111d69f7f0512915cb42227,45a576507785df07ed0969b9e97b1eb5248f391c..2553762465ca78f1d31cdaf10d57f6d8279bf4c0
  #define __NR_pselect6         297
  #define __NR_ppoll            298
  #define __NR_unshare          299
+ #define __NR_set_robust_list  300
+ #define __NR_get_robust_list  301
  
- /* WARNING: You MAY NOT add syscall numbers larger than 299, since
 +#ifdef __KERNEL__
+ /* WARNING: You MAY NOT add syscall numbers larger than 301, since
   *          all of the syscall tables in the Sparc kernel are
-  *          sized to have 299 entries (starting at zero).  Therefore
-  *          find a free slot in the 0-299 range.
+  *          sized to have 301 entries (starting at zero).  Therefore
+  *          find a free slot in the 0-301 range.
   */
  
  #define _syscall0(type,name) \
index c902a96d1d482d9f30694eb3393ed58ccac3919a,a8d39f23d43b7755023541770b35e3fa1e2c88b2..3c2b5bc8650b46491edb4c015ac687697ba3bc29
  #ifndef _ASM_SPARC64_DMA_MAPPING_H
  #define _ASM_SPARC64_DMA_MAPPING_H
  
 -#include <linux/config.h>
  
  #ifdef CONFIG_PCI
- #include <asm-generic/dma-mapping.h>
+ /* we implement the API below in terms of the existing PCI one,
+  * so include it */
+ #include <linux/pci.h>
+ /* need struct page definitions */
+ #include <linux/mm.h>
+ static inline int
+ dma_supported(struct device *dev, u64 mask)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       return pci_dma_supported(to_pci_dev(dev), mask);
+ }
+ static inline int
+ dma_set_mask(struct device *dev, u64 dma_mask)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       return pci_set_dma_mask(to_pci_dev(dev), dma_mask);
+ }
+ static inline void *
+ dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
+                  gfp_t flag)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       return pci_iommu_ops->alloc_consistent(to_pci_dev(dev), size, dma_handle, flag);
+ }
+ static inline void
+ dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
+                   dma_addr_t dma_handle)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_free_consistent(to_pci_dev(dev), size, cpu_addr, dma_handle);
+ }
+ static inline dma_addr_t
+ dma_map_single(struct device *dev, void *cpu_addr, size_t size,
+              enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       return pci_map_single(to_pci_dev(dev), cpu_addr, size, (int)direction);
+ }
+ static inline void
+ dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size,
+                enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_unmap_single(to_pci_dev(dev), dma_addr, size, (int)direction);
+ }
+ static inline dma_addr_t
+ dma_map_page(struct device *dev, struct page *page,
+            unsigned long offset, size_t size,
+            enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       return pci_map_page(to_pci_dev(dev), page, offset, size, (int)direction);
+ }
+ static inline void
+ dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size,
+              enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_unmap_page(to_pci_dev(dev), dma_address, size, (int)direction);
+ }
+ static inline int
+ dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
+          enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       return pci_map_sg(to_pci_dev(dev), sg, nents, (int)direction);
+ }
+ static inline void
+ dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries,
+            enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_unmap_sg(to_pci_dev(dev), sg, nhwentries, (int)direction);
+ }
+ static inline void
+ dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size,
+                       enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_dma_sync_single_for_cpu(to_pci_dev(dev), dma_handle,
+                                   size, (int)direction);
+ }
+ static inline void
+ dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size,
+                          enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_dma_sync_single_for_device(to_pci_dev(dev), dma_handle,
+                                      size, (int)direction);
+ }
+ static inline void
+ dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems,
+                   enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_dma_sync_sg_for_cpu(to_pci_dev(dev), sg, nelems, (int)direction);
+ }
+ static inline void
+ dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems,
+                      enum dma_data_direction direction)
+ {
+       BUG_ON(dev->bus != &pci_bus_type);
+       pci_dma_sync_sg_for_device(to_pci_dev(dev), sg, nelems, (int)direction);
+ }
+ static inline int
+ dma_mapping_error(dma_addr_t dma_addr)
+ {
+       return pci_dma_mapping_error(dma_addr);
+ }
  #else
  
  struct device;
index a73b7ce1a0427b5f28062522ea3c311b12ebc2b4,998ef4ab0e068fbcf564f4b0fbdf05a2744f3663..badc73fdcb97c261a1011db687a45a4ac88b59a5
  #define __NR_pselect6         297
  #define __NR_ppoll            298
  #define __NR_unshare          299
+ #define __NR_set_robust_list  300
+ #define __NR_get_robust_list  301
  
- /* WARNING: You MAY NOT add syscall numbers larger than 299, since
 +#ifdef __KERNEL__
+ /* WARNING: You MAY NOT add syscall numbers larger than 301, since
   *          all of the syscall tables in the Sparc kernel are
-  *          sized to have 299 entries (starting at zero).  Therefore
-  *          find a free slot in the 0-299 range.
+  *          sized to have 301 entries (starting at zero).  Therefore
+  *          find a free slot in the 0-301 range.
   */
  
  #define _syscall0(type,name) \
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 70c64dbe4b8af4975925b897cddffc60e808d444,60d49e5456e79c273e6732d1fcf0b15dce1159f4..bd67a4413df7b29389f3729073becd4862440605
@@@ -52,7 -52,9 +52,8 @@@ struct utimbuf
  struct mq_attr;
  struct compat_stat;
  struct compat_timeval;
+ struct robust_list_head;
  
 -#include <linux/config.h>
  #include <linux/types.h>
  #include <linux/aio_abi.h>
  #include <linux/capability.h>
Simple merge
Simple merge