Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6f2dbcb9
Commit
6f2dbcb9
authored
Mar 15, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents
219b5ec0
99dd57a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
arch/ppc64/kernel/pmac_iommu.c
arch/ppc64/kernel/pmac_iommu.c
+5
-2
No files found.
arch/ppc64/kernel/pmac_iommu.c
View file @
6f2dbcb9
...
@@ -289,8 +289,11 @@ void iommu_setup_pmac(void)
...
@@ -289,8 +289,11 @@ void iommu_setup_pmac(void)
* things simple. Setup all PCI devices to point to this table
* things simple. Setup all PCI devices to point to this table
*/
*/
while
((
dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
while
((
dev
=
pci_find_device
(
PCI_ANY_ID
,
PCI_ANY_ID
,
dev
))
!=
NULL
)
{
dn
=
PCI_GET_DN
(
dev
);
/* We must use pci_device_to_OF_node() to make sure that
* we get the real "final" pointer to the device in the
* pci_dev sysdata and not the temporary PHB one
*/
struct
device_node
*
dn
=
pci_device_to_OF_node
(
dev
);
if
(
dn
)
if
(
dn
)
dn
->
iommu_table
=
&
iommu_table_pmac
;
dn
->
iommu_table
=
&
iommu_table_pmac
;
}
}
...
...
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