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
ada8d309
Commit
ada8d309
authored
Oct 15, 2004
by
Richard Russon
Browse files
Options
Browse Files
Download
Plain Diff
Merge flatcap.org:/home/flatcap/backup/bk/ntfs-2.6
into flatcap.org:/home/flatcap/backup/bk/ntfs-2.6-devel
parents
3a155b7e
8b5915b0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
drivers/pci/probe.c
drivers/pci/probe.c
+4
-1
include/linux/highmem.h
include/linux/highmem.h
+4
-0
No files found.
drivers/pci/probe.c
View file @
ada8d309
...
...
@@ -373,7 +373,10 @@ int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max
child
->
bridge_ctl
=
bctl
;
cmax
=
pci_scan_child_bus
(
child
);
if
(
cmax
>
max
)
max
=
cmax
;
if
(
cmax
>
max
)
max
=
cmax
;
if
(
child
->
subordinate
>
max
)
max
=
child
->
subordinate
;
}
else
{
/*
* We need to assign a number to this bus which we always
...
...
include/linux/highmem.h
View file @
ada8d309
...
...
@@ -40,6 +40,8 @@ static inline void clear_user_highpage(struct page *page, unsigned long vaddr)
void
*
addr
=
kmap_atomic
(
page
,
KM_USER0
);
clear_user_page
(
addr
,
vaddr
,
page
);
kunmap_atomic
(
addr
,
KM_USER0
);
/* Make sure this page is cleared on other CPU's too before using it */
smp_wmb
();
}
static
inline
void
clear_highpage
(
struct
page
*
page
)
...
...
@@ -73,6 +75,8 @@ static inline void copy_user_highpage(struct page *to, struct page *from, unsign
copy_user_page
(
vto
,
vfrom
,
vaddr
,
to
);
kunmap_atomic
(
vfrom
,
KM_USER0
);
kunmap_atomic
(
vto
,
KM_USER1
);
/* Make sure this page is cleared on other CPU's too before using it */
smp_wmb
();
}
static
inline
void
copy_highpage
(
struct
page
*
to
,
struct
page
*
from
)
...
...
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