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
Kirill Smelkov
linux
Commits
bc2e0c4b
Commit
bc2e0c4b
authored
Apr 10, 2003
by
Dave Jones
Committed by
Dave Jones
Apr 10, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] ia64 related AGP fixes from David Mosberger.
parent
fd7ca8e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+1
-0
drivers/char/agp/hp-agp.c
drivers/char/agp/hp-agp.c
+2
-2
drivers/char/agp/i460-agp.c
drivers/char/agp/i460-agp.c
+1
-1
drivers/char/drm/drm_bufs.h
drivers/char/drm/drm_bufs.h
+1
-1
No files found.
drivers/char/agp/generic.c
View file @
bc2e0c4b
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <linux/miscdevice.h>
#include <linux/miscdevice.h>
#include <linux/pm.h>
#include <linux/pm.h>
#include <linux/agp_backend.h>
#include <linux/agp_backend.h>
#include <linux/vmalloc.h>
#include "agp.h"
#include "agp.h"
__u32
*
agp_gatt_table
;
__u32
*
agp_gatt_table
;
...
...
drivers/char/agp/hp-agp.c
View file @
bc2e0c4b
...
@@ -369,7 +369,7 @@ static int __init agp_find_supported_device(struct pci_dev *dev)
...
@@ -369,7 +369,7 @@ static int __init agp_find_supported_device(struct pci_dev *dev)
}
}
static
struct
agp_driver
hp_agp_driver
=
{
static
struct
agp_driver
hp_agp_driver
=
{
.
owner
=
THIS_MODULE
;
.
owner
=
THIS_MODULE
,
};
};
static
int
__init
agp_hp_probe
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
ent
)
static
int
__init
agp_hp_probe
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
ent
)
...
@@ -394,7 +394,7 @@ static struct pci_device_id agp_hp_pci_table[] __initdata = {
...
@@ -394,7 +394,7 @@ static struct pci_device_id agp_hp_pci_table[] __initdata = {
{
}
{
}
};
};
MODULE_DEVICE_TABLE
(
pci
,
agp_pci_table
);
MODULE_DEVICE_TABLE
(
pci
,
agp_
hp_
pci_table
);
static
struct
__initdata
pci_driver
agp_hp_pci_driver
=
{
static
struct
__initdata
pci_driver
agp_hp_pci_driver
=
{
.
name
=
"agpgart-hp"
,
.
name
=
"agpgart-hp"
,
...
...
drivers/char/agp/i460-agp.c
View file @
bc2e0c4b
...
@@ -560,7 +560,7 @@ static int __init intel_i460_setup (struct pci_dev *pdev __attribute__((unused))
...
@@ -560,7 +560,7 @@ static int __init intel_i460_setup (struct pci_dev *pdev __attribute__((unused))
}
}
static
struct
agp_driver
i460_agp_driver
=
{
static
struct
agp_driver
i460_agp_driver
=
{
.
owner
=
THIS_MODULE
;
.
owner
=
THIS_MODULE
,
};
};
static
int
__init
agp_intel_i460_probe
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
ent
)
static
int
__init
agp_intel_i460_probe
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
ent
)
...
...
drivers/char/drm/drm_bufs.h
View file @
bc2e0c4b
...
@@ -106,7 +106,7 @@ int DRM(addmap)( struct inode *inode, struct file *filp,
...
@@ -106,7 +106,7 @@ int DRM(addmap)( struct inode *inode, struct file *filp,
switch
(
map
->
type
)
{
switch
(
map
->
type
)
{
case
_DRM_REGISTERS
:
case
_DRM_REGISTERS
:
case
_DRM_FRAME_BUFFER
:
case
_DRM_FRAME_BUFFER
:
#if !defined(__sparc__) && !defined(__alpha__)
#if !defined(__sparc__) && !defined(__alpha__)
&& !defined(__ia64__)
if
(
map
->
offset
+
map
->
size
<
map
->
offset
||
if
(
map
->
offset
+
map
->
size
<
map
->
offset
||
map
->
offset
<
virt_to_phys
(
high_memory
)
)
{
map
->
offset
<
virt_to_phys
(
high_memory
)
)
{
DRM
(
free
)(
map
,
sizeof
(
*
map
),
DRM_MEM_MAPS
);
DRM
(
free
)(
map
,
sizeof
(
*
map
),
DRM_MEM_MAPS
);
...
...
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