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
3c56486b
Commit
3c56486b
authored
Jan 14, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/libata-2.5
parents
71e5306f
4547e81c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
include/linux/pci_ids.h
include/linux/pci_ids.h
+1
-1
mm/mremap.c
mm/mremap.c
+6
-2
No files found.
include/linux/pci_ids.h
View file @
3c56486b
...
...
@@ -325,7 +325,7 @@
/* RadeonIGP */
#define PCI_DEVICE_ID_ATI_RS100 0xcab0
#define PCI_DEVICE_ID_ATI_RS200 0xcab2
#define PCI_DEVICE_ID_ATI_RS200_B 0xcbb
3
#define PCI_DEVICE_ID_ATI_RS200_B 0xcbb
2
#define PCI_DEVICE_ID_ATI_RS250 0xcab3
#define PCI_DEVICE_ID_ATI_RS300_100 0x5830
#define PCI_DEVICE_ID_ATI_RS300_133 0x5831
...
...
mm/mremap.c
View file @
3c56486b
...
...
@@ -315,8 +315,12 @@ unsigned long do_mremap(unsigned long addr,
old_len
=
PAGE_ALIGN
(
old_len
);
new_len
=
PAGE_ALIGN
(
new_len
);
/* Don't allow the degenerate cases */
if
(
!
old_len
||
!
new_len
)
/*
* We allow a zero old-len as a special case
* for DOS-emu "duplicate shm area" thing. But
* a zero new-len is nonsensical.
*/
if
(
!
new_len
)
goto
out
;
/* new_addr is only valid if MREMAP_FIXED is specified */
...
...
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