diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2012-05-08 11:35:37 -0600 | 
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-08 11:35:37 -0600 | 
| commit | 7b96c686223a5c902d6a59c7d178f3904f0ab757 (patch) | |
| tree | fe328ed56ad3719de3cfebad72ef74e34f1ed92b /arch/sh/mm/consistent.c | |
| parent | f141ed65f256ec036c7fba604da6b7c448096ef9 (diff) | |
| parent | d48b97b403d23f6df0b990cee652bdf9a52337a3 (diff) | |
| download | olio-linux-3.10-7b96c686223a5c902d6a59c7d178f3904f0ab757.tar.xz olio-linux-3.10-7b96c686223a5c902d6a59c7d178f3904f0ab757.zip  | |
Merge tag 'v3.4-rc6' into gpio/next
Linux 3.4-rc6
Diffstat (limited to 'arch/sh/mm/consistent.c')
| -rw-r--r-- | arch/sh/mm/consistent.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index f251b5f2765..b81d9dbf9fe 100644 --- a/arch/sh/mm/consistent.c +++ b/arch/sh/mm/consistent.c @@ -33,7 +33,8 @@ static int __init dma_init(void)  fs_initcall(dma_init);  void *dma_generic_alloc_coherent(struct device *dev, size_t size, -				 dma_addr_t *dma_handle, gfp_t gfp) +				 dma_addr_t *dma_handle, gfp_t gfp, +				 struct dma_attrs *attrs)  {  	void *ret, *ret_nocache;  	int order = get_order(size); @@ -64,7 +65,8 @@ void *dma_generic_alloc_coherent(struct device *dev, size_t size,  }  void dma_generic_free_coherent(struct device *dev, size_t size, -			       void *vaddr, dma_addr_t dma_handle) +			       void *vaddr, dma_addr_t dma_handle, +			       struct dma_attrs *attrs)  {  	int order = get_order(size);  	unsigned long pfn = dma_handle >> PAGE_SHIFT;  |