Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
e4754c96
Commit
e4754c96
authored
Dec 03, 2008
by
Joerg Roedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VT-d: remove now unused intel_iommu_found function
Signed-off-by:
Joerg Roedel
<
joerg.roedel@amd.com
>
parent
a8bcbb0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
drivers/pci/intel-iommu.c
drivers/pci/intel-iommu.c
+0
-6
include/linux/intel-iommu.h
include/linux/intel-iommu.h
+0
-9
No files found.
drivers/pci/intel-iommu.c
View file @
e4754c96
...
@@ -3105,12 +3105,6 @@ static void intel_iommu_unmap_range(struct iommu_domain *domain,
...
@@ -3105,12 +3105,6 @@ static void intel_iommu_unmap_range(struct iommu_domain *domain,
dmar_domain
->
max_addr
=
base
;
dmar_domain
->
max_addr
=
base
;
}
}
int
intel_iommu_found
(
void
)
{
return
g_num_of_iommus
;
}
EXPORT_SYMBOL_GPL
(
intel_iommu_found
);
static
phys_addr_t
intel_iommu_iova_to_phys
(
struct
iommu_domain
*
domain
,
static
phys_addr_t
intel_iommu_iova_to_phys
(
struct
iommu_domain
*
domain
,
unsigned
long
iova
)
unsigned
long
iova
)
{
{
...
...
include/linux/intel-iommu.h
View file @
e4754c96
...
@@ -330,15 +330,6 @@ extern int qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
...
@@ -330,15 +330,6 @@ extern int qi_flush_iotlb(struct intel_iommu *iommu, u16 did, u64 addr,
extern
void
qi_submit_sync
(
struct
qi_desc
*
desc
,
struct
intel_iommu
*
iommu
);
extern
void
qi_submit_sync
(
struct
qi_desc
*
desc
,
struct
intel_iommu
*
iommu
);
#ifdef CONFIG_DMAR
int
intel_iommu_found
(
void
);
#else
/* CONFIG_DMAR */
static
inline
int
intel_iommu_found
(
void
)
{
return
0
;
}
#endif
/* CONFIG_DMAR */
extern
void
*
intel_alloc_coherent
(
struct
device
*
,
size_t
,
dma_addr_t
*
,
gfp_t
);
extern
void
*
intel_alloc_coherent
(
struct
device
*
,
size_t
,
dma_addr_t
*
,
gfp_t
);
extern
void
intel_free_coherent
(
struct
device
*
,
size_t
,
void
*
,
dma_addr_t
);
extern
void
intel_free_coherent
(
struct
device
*
,
size_t
,
void
*
,
dma_addr_t
);
extern
dma_addr_t
intel_map_single
(
struct
device
*
,
phys_addr_t
,
size_t
,
int
);
extern
dma_addr_t
intel_map_single
(
struct
device
*
,
phys_addr_t
,
size_t
,
int
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment