commit | d09d815c1b1d437a3ea89ecd92c91179266d1243 | [log] [tgz] |
---|---|---|
author | Glauber Costa <gcosta@redhat.com> | Tue Apr 08 13:20:58 2008 -0300 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 19 19:19:58 2008 +0200 |
tree | 860aac1786676a01909d8ad1325bd3ffbe029039 | |
parent | 8e8edc6401205da3000cc3dfa76f3fd28a21d73c [diff] |
x86: isolate coherent mapping functions i386 implements the declare coherent memory API, and x86_64 does not it is reflected in pieces of dma_alloc_coherent and dma_free_coherent. Those pieces are isolated in separate functions, that are declared as empty macros in x86_64. This way we can make the code the same. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>