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
296d26ab
Commit
296d26ab
authored
Apr 11, 2003
by
Rob Radez
Committed by
Keith M. Wesolowski
Apr 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sparc]: Fix uninitialized spinlock in SRMMU code.
parent
8f44c5c2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/sparc/mm/srmmu.c
arch/sparc/mm/srmmu.c
+2
-2
No files found.
arch/sparc/mm/srmmu.c
View file @
296d26ab
...
@@ -108,7 +108,7 @@ ctxd_t *srmmu_ctx_table_phys;
...
@@ -108,7 +108,7 @@ ctxd_t *srmmu_ctx_table_phys;
ctxd_t
*
srmmu_context_table
;
ctxd_t
*
srmmu_context_table
;
int
viking_mxcc_present
;
int
viking_mxcc_present
;
spinlock_t
srmmu_context_spinlock
=
SPIN_LOCK_UNLOCKED
;
s
tatic
s
pinlock_t
srmmu_context_spinlock
=
SPIN_LOCK_UNLOCKED
;
int
is_hypersparc
;
int
is_hypersparc
;
...
@@ -152,7 +152,7 @@ void *srmmu_nocache_pool;
...
@@ -152,7 +152,7 @@ void *srmmu_nocache_pool;
void
*
srmmu_nocache_bitmap
;
void
*
srmmu_nocache_bitmap
;
int
srmmu_nocache_low
;
int
srmmu_nocache_low
;
int
srmmu_nocache_used
;
int
srmmu_nocache_used
;
s
pinlock_t
srmmu_nocache_spinlock
;
s
tatic
spinlock_t
srmmu_nocache_spinlock
=
SPIN_LOCK_UNLOCKED
;
/* This makes sense. Honest it does - Anton */
/* This makes sense. Honest it does - Anton */
#define __nocache_pa(VADDR) (((unsigned long)VADDR) - SRMMU_NOCACHE_VADDR + __pa((unsigned long)srmmu_nocache_pool))
#define __nocache_pa(VADDR) (((unsigned long)VADDR) - SRMMU_NOCACHE_VADDR + __pa((unsigned long)srmmu_nocache_pool))
...
...
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