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
8b7ee204
Commit
8b7ee204
authored
Feb 11, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Feb 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kill warning in vmscan.c
Make the "duplicate const" warning go away. Arguably a compiler bug...
parent
d89ff79e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mm/swap_state.c
mm/swap_state.c
+1
-1
mm/vmscan.c
mm/vmscan.c
+1
-1
No files found.
mm/swap_state.c
View file @
8b7ee204
...
@@ -294,7 +294,7 @@ void free_page_and_swap_cache(struct page *page)
...
@@ -294,7 +294,7 @@ void free_page_and_swap_cache(struct page *page)
*/
*/
void
free_pages_and_swap_cache
(
struct
page
**
pages
,
int
nr
)
void
free_pages_and_swap_cache
(
struct
page
**
pages
,
int
nr
)
{
{
const
int
chunk
=
16
;
int
chunk
=
16
;
struct
page
**
pagep
=
pages
;
struct
page
**
pagep
=
pages
;
lru_add_drain
();
lru_add_drain
();
...
...
mm/vmscan.c
View file @
8b7ee204
...
@@ -757,7 +757,7 @@ shrink_zone(struct zone *zone, int max_scan, unsigned int gfp_mask,
...
@@ -757,7 +757,7 @@ shrink_zone(struct zone *zone, int max_scan, unsigned int gfp_mask,
*/
*/
static
int
static
int
shrink_caches
(
struct
zone
*
classzone
,
int
priority
,
int
*
total_scanned
,
shrink_caches
(
struct
zone
*
classzone
,
int
priority
,
int
*
total_scanned
,
int
gfp_mask
,
const
int
nr_pages
,
struct
page_state
*
ps
)
int
gfp_mask
,
int
nr_pages
,
struct
page_state
*
ps
)
{
{
struct
zone
*
first_classzone
;
struct
zone
*
first_classzone
;
struct
zone
*
zone
;
struct
zone
*
zone
;
...
...
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