git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a45669
)
x86, AMD IOMMU: initialize dma_ops after sysfs registration
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 14 Aug 2008 17:55:18 +0000
(19:55 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 15 Aug 2008 11:56:56 +0000
(13:56 +0200)
If sysfs registration fails all memory used by IOMMU is freed. This
happens after dma_ops initialization and the functions will access the
freed memory then.
Fix this by initializing dma_ops after the sysfs registration.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
No differences found