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
8dcf47bd
Commit
8dcf47bd
authored
Apr 29, 2002
by
Andrew Morton
Committed by
Linus Torvalds
Apr 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove PG_skip
Remove PG_skip. Nothing is using it (the change was acked by rmk a while back)
parent
7d513234
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
22 deletions
+6
-22
arch/arm/mm/init.c
arch/arm/mm/init.c
+0
-12
include/linux/page-flags.h
include/linux/page-flags.h
+6
-10
No files found.
arch/arm/mm/init.c
View file @
8dcf47bd
...
...
@@ -64,18 +64,6 @@ static struct meminfo meminfo __initdata = { 0, };
*/
struct
page
*
empty_zero_page
;
/* This is currently broken
* PG_skip is used on sparc/sparc64 architectures to "skip" certain
* parts of the address space.
*
* #define PG_skip 10
* #define PageSkip(page) (machine_is_riscpc() && test_bit(PG_skip, &(page)->flags))
* if (PageSkip(page)) {
* page = page->next_hash;
* if (page == NULL)
* break;
* }
*/
void
show_mem
(
void
)
{
int
free
=
0
,
total
=
0
,
reserved
=
0
;
...
...
include/linux/page-flags.h
View file @
8dcf47bd
...
...
@@ -30,9 +30,6 @@
* inactive_dirty and inactive_clean lists are protected by the
* pagemap_lru_lock, and *NOT* by the usual PG_locked_dontuse bit!
*
* PG_skip is used on sparc/sparc64 architectures to "skip" certain parts of
* the address space.
*
* PG_error is set to indicate that an I/O error occurred on this page.
*
* PG_arch_1 is an architecture specific page state bit. The generic code
...
...
@@ -60,14 +57,13 @@
#define PG_active 6
#define PG_slab 7
/* slab debug (Suparna wants this) */
#define PG_
skip 8
/* kill me now: obsolete */
#define PG_
highmem 9
#define PG_
checked 10
/* kill me in 2.5.<early>. */
#define PG_
arch_1
11
#define PG_
highmem 8
#define PG_
checked 9
/* kill me in 2.5.<early>. */
#define PG_
arch_1 10
#define PG_
reserved
11
#define PG_reserved 12
#define PG_launder 13
/* written out by VM pressure.. */
#define PG_private 14
/* Has something at ->private */
#define PG_launder 12
/* written out by VM pressure.. */
#define PG_private 13
/* Has something at ->private */
/*
* Global page accounting. One instance per CPU.
...
...
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