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
d89a6e2f
Commit
d89a6e2f
authored
Dec 03, 2002
by
Dave Jones
Committed by
Dave Jones
Dec 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cast fixes from -ac
parent
d0f5d65d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
drivers/char/agp/amd-k7-agp.c
drivers/char/agp/amd-k7-agp.c
+4
-4
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+1
-1
drivers/char/agp/sworks-agp.c
drivers/char/agp/sworks-agp.c
+4
-4
No files found.
drivers/char/agp/amd-k7-agp.c
View file @
d89a6e2f
...
@@ -138,8 +138,8 @@ static int amd_create_gatt_table(void)
...
@@ -138,8 +138,8 @@ static int amd_create_gatt_table(void)
return
retval
;
return
retval
;
}
}
agp_bridge
.
gatt_table_real
=
page_dir
.
real
;
agp_bridge
.
gatt_table_real
=
(
u32
*
)
page_dir
.
real
;
agp_bridge
.
gatt_table
=
page_dir
.
remapped
;
agp_bridge
.
gatt_table
=
(
u32
*
)
page_dir
.
remapped
;
agp_bridge
.
gatt_bus_addr
=
virt_to_phys
(
page_dir
.
real
);
agp_bridge
.
gatt_bus_addr
=
virt_to_phys
(
page_dir
.
real
);
/* Get the address for the gart region.
/* Get the address for the gart region.
...
@@ -165,8 +165,8 @@ static int amd_free_gatt_table(void)
...
@@ -165,8 +165,8 @@ static int amd_free_gatt_table(void)
{
{
struct
amd_page_map
page_dir
;
struct
amd_page_map
page_dir
;
page_dir
.
real
=
agp_bridge
.
gatt_table_real
;
page_dir
.
real
=
(
u32
*
)
agp_bridge
.
gatt_table_real
;
page_dir
.
remapped
=
agp_bridge
.
gatt_table
;
page_dir
.
remapped
=
(
u32
*
)
agp_bridge
.
gatt_table
;
amd_free_gatt_pages
();
amd_free_gatt_pages
();
amd_free_page_map
(
&
page_dir
);
amd_free_page_map
(
&
page_dir
);
...
...
drivers/char/agp/generic.c
View file @
d89a6e2f
...
@@ -466,7 +466,7 @@ int agp_generic_create_gatt_table(void)
...
@@ -466,7 +466,7 @@ int agp_generic_create_gatt_table(void)
for
(
page
=
virt_to_page
(
table
);
page
<=
virt_to_page
(
table_end
);
page
++
)
for
(
page
=
virt_to_page
(
table
);
page
<=
virt_to_page
(
table_end
);
page
++
)
SetPageReserved
(
page
);
SetPageReserved
(
page
);
agp_bridge
.
gatt_table_real
=
(
u
nsigned
long
*
)
table
;
agp_bridge
.
gatt_table_real
=
(
u
32
*
)
table
;
agp_gatt_table
=
(
void
*
)
table
;
agp_gatt_table
=
(
void
*
)
table
;
CACHE_FLUSH
();
CACHE_FLUSH
();
agp_bridge
.
gatt_table
=
ioremap_nocache
(
virt_to_phys
(
table
),
agp_bridge
.
gatt_table
=
ioremap_nocache
(
virt_to_phys
(
table
),
...
...
drivers/char/agp/sworks-agp.c
View file @
d89a6e2f
...
@@ -160,8 +160,8 @@ static int serverworks_create_gatt_table(void)
...
@@ -160,8 +160,8 @@ static int serverworks_create_gatt_table(void)
return
retval
;
return
retval
;
}
}
agp_bridge
.
gatt_table_real
=
page_dir
.
real
;
agp_bridge
.
gatt_table_real
=
(
unsigned
long
*
)
page_dir
.
real
;
agp_bridge
.
gatt_table
=
page_dir
.
remapped
;
agp_bridge
.
gatt_table
=
(
unsigned
long
*
)
page_dir
.
remapped
;
agp_bridge
.
gatt_bus_addr
=
virt_to_phys
(
page_dir
.
real
);
agp_bridge
.
gatt_bus_addr
=
virt_to_phys
(
page_dir
.
real
);
/* Get the address for the gart region.
/* Get the address for the gart region.
...
@@ -189,8 +189,8 @@ static int serverworks_free_gatt_table(void)
...
@@ -189,8 +189,8 @@ static int serverworks_free_gatt_table(void)
{
{
struct
serverworks_page_map
page_dir
;
struct
serverworks_page_map
page_dir
;
page_dir
.
real
=
agp_bridge
.
gatt_table_real
;
page_dir
.
real
=
(
unsigned
long
*
)
agp_bridge
.
gatt_table_real
;
page_dir
.
remapped
=
agp_bridge
.
gatt_table
;
page_dir
.
remapped
=
(
unsigned
long
*
)
agp_bridge
.
gatt_table
;
serverworks_free_gatt_pages
();
serverworks_free_gatt_pages
();
serverworks_free_page_map
(
&
page_dir
);
serverworks_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