Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148478 Details for
Bug 229199
ia64: Fix noncoherent DMA API so devres builds/restore ia64 builds
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for this issue
229199.patch (text/plain), 1.41 KB, created by
Prarit Bhargava
on 2007-02-21 13:59:40 UTC
(
hide
)
Description:
Fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-02-21 13:59:40 UTC
Size:
1.41 KB
patch
obsolete
>Dave, > >This is a backport of > >http://marc.theaimsgroup.com/?l=linux-kernel&m=117126077827020&w=2 > >which resolves the recent build failures. > >Please apply to Fedora. > >Thanks, > >P. > > >diff --git a/include/asm-ia64/dma-mapping.h b/include/asm-ia64/dma-mapping.h >index ebd5887..6299b51 100644 >--- a/include/asm-ia64/dma-mapping.h >+++ b/include/asm-ia64/dma-mapping.h >@@ -8,9 +8,20 @@ > #include <asm/machvec.h> > > #define dma_alloc_coherent platform_dma_alloc_coherent >-#define dma_alloc_noncoherent platform_dma_alloc_coherent /* coherent mem. is cheap */ >+/* coherent mem. is cheap */ >+static inline void * >+dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, >+ gfp_t flag) >+{ >+ return dma_alloc_coherent(dev, size, dma_handle, flag); >+} > #define dma_free_coherent platform_dma_free_coherent >-#define dma_free_noncoherent platform_dma_free_coherent >+static inline void >+dma_free_noncoherent(struct device *dev, size_t size, void *cpu_addr, >+ dma_addr_t dma_handle) >+{ >+ dma_free_coherent(dev, size, cpu_addr, dma_handle); >+} > #define dma_map_single platform_dma_map_single > #define dma_map_sg platform_dma_map_sg > #define dma_unmap_single platform_dma_unmap_single >- >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html >Please read the FAQ at http://www.tux.org/lkml/ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229199
:
148323
|
148478
|
148479