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
5858a0a8
Commit
5858a0a8
authored
Apr 01, 2003
by
Rusty Russell
Committed by
Linus Torvalds
Apr 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] 2.5.60 i386_mm_init.c comment cleanup
From: Paul Gortmaker <p_gortmaker@yahoo.com>
parent
8789e410
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
arch/i386/mm/init.c
arch/i386/mm/init.c
+9
-9
No files found.
arch/i386/mm/init.c
View file @
5858a0a8
...
@@ -44,6 +44,8 @@
...
@@ -44,6 +44,8 @@
struct
mmu_gather
mmu_gathers
[
NR_CPUS
];
struct
mmu_gather
mmu_gathers
[
NR_CPUS
];
unsigned
long
highstart_pfn
,
highend_pfn
;
unsigned
long
highstart_pfn
,
highend_pfn
;
static
int
do_test_wp_bit
(
void
);
/*
/*
* Creates a middle page table and puts a pointer to it in the
* Creates a middle page table and puts a pointer to it in the
* given global directory entry. This only returns the gd entry
* given global directory entry. This only returns the gd entry
...
@@ -377,15 +379,10 @@ void __init paging_init(void)
...
@@ -377,15 +379,10 @@ void __init paging_init(void)
/*
/*
* Test if the WP bit works in supervisor mode. It isn't supported on 386's
* Test if the WP bit works in supervisor mode. It isn't supported on 386's
* and also on some strange 486's (NexGen etc.). All 586+'s are OK. The jumps
* and also on some strange 486's (NexGen etc.). All 586+'s are OK. This
* before and after the test are here to work-around some nasty CPU bugs.
* used to involve black magic jumps to work around some nasty CPU bugs,
*/
* but fortunately the switch to using exceptions got rid of all that.
/*
* This function cannot be __init, since exceptions don't work in that
* section.
*/
*/
static
int
do_test_wp_bit
(
void
);
void
__init
test_wp_bit
(
void
)
void
__init
test_wp_bit
(
void
)
{
{
...
@@ -539,7 +536,10 @@ void __init pgtable_cache_init(void)
...
@@ -539,7 +536,10 @@ void __init pgtable_cache_init(void)
panic
(
"pgtable_cache_init(): Cannot create pgd cache"
);
panic
(
"pgtable_cache_init(): Cannot create pgd cache"
);
}
}
/* Put this after the callers, so that it cannot be inlined */
/*
* This function cannot be __init, since exceptions don't work in that
* section. Put this after the callers, so that it cannot be inlined.
*/
static
int
do_test_wp_bit
(
void
)
static
int
do_test_wp_bit
(
void
)
{
{
char
tmp_reg
;
char
tmp_reg
;
...
...
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