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
7bf76470
Commit
7bf76470
authored
Dec 13, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGP] fix bogus casts.
parent
9e09bda8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/amd-k7-agp.c
+4
-4
No files found.
drivers/char/agp/amd-k7-agp.c
View file @
7bf76470
...
...
@@ -138,8 +138,8 @@ static int amd_create_gatt_table(void)
return
retval
;
}
agp_bridge
.
gatt_table_real
=
(
u
32
*
)
page_dir
.
real
;
agp_bridge
.
gatt_table
=
(
u
32
*
)
page_dir
.
remapped
;
agp_bridge
.
gatt_table_real
=
(
u
nsigned
long
*
)
page_dir
.
real
;
agp_bridge
.
gatt_table
=
(
u
nsigned
long
*
)
page_dir
.
remapped
;
agp_bridge
.
gatt_bus_addr
=
virt_to_phys
(
page_dir
.
real
);
/* Get the address for the gart region.
...
...
@@ -165,8 +165,8 @@ static int amd_free_gatt_table(void)
{
struct
amd_page_map
page_dir
;
page_dir
.
real
=
(
u
32
*
)
agp_bridge
.
gatt_table_real
;
page_dir
.
remapped
=
(
u
32
*
)
agp_bridge
.
gatt_table
;
page_dir
.
real
=
(
u
nsigned
long
*
)
agp_bridge
.
gatt_table_real
;
page_dir
.
remapped
=
(
u
nsigned
long
*
)
agp_bridge
.
gatt_table
;
amd_free_gatt_pages
();
amd_free_page_map
(
&
page_dir
);
...
...
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