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
28922d1e
Commit
28922d1e
authored
Jan 08, 2004
by
Keith M. Wesolowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Fix PMD masking in SRMMU code.
parent
ccc259f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
arch/sparc/mm/fault.c
arch/sparc/mm/fault.c
+0
-1
arch/sparc/mm/srmmu.c
arch/sparc/mm/srmmu.c
+3
-3
No files found.
arch/sparc/mm/fault.c
View file @
28922d1e
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0]))
#define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0]))
extern
struct
sparc_phys_banks
sp_banks
[
SPARC_PHYS_BANKS
+
1
];
extern
int
prom_node_root
;
extern
int
prom_node_root
;
/* At boot time we determine these two values necessary for setting
/* At boot time we determine these two values necessary for setting
...
...
arch/sparc/mm/srmmu.c
View file @
28922d1e
...
@@ -349,7 +349,7 @@ void srmmu_free_nocache(unsigned long vaddr, int size)
...
@@ -349,7 +349,7 @@ void srmmu_free_nocache(unsigned long vaddr, int size)
vaddr
,
(
unsigned
long
)
SRMMU_NOCACHE_VADDR
);
vaddr
,
(
unsigned
long
)
SRMMU_NOCACHE_VADDR
);
BUG
();
BUG
();
}
}
if
(
vaddr
+
size
>
=
srmmu_nocache_end
)
{
if
(
vaddr
+
size
>
srmmu_nocache_end
)
{
printk
(
"Vaddr %lx is bigger than nocache end 0x%lx
\n
"
,
printk
(
"Vaddr %lx is bigger than nocache end 0x%lx
\n
"
,
vaddr
,
srmmu_nocache_end
);
vaddr
,
srmmu_nocache_end
);
BUG
();
BUG
();
...
@@ -1071,7 +1071,7 @@ void __init srmmu_early_allocate_ptable_skeleton(unsigned long start, unsigned l
...
@@ -1071,7 +1071,7 @@ void __init srmmu_early_allocate_ptable_skeleton(unsigned long start, unsigned l
}
}
if
(
start
>
(
0xffffffffUL
-
SRMMU_PMD_SIZE_SOFT
))
if
(
start
>
(
0xffffffffUL
-
SRMMU_PMD_SIZE_SOFT
))
break
;
break
;
start
=
(
start
+
SRMMU_PMD_SIZE
)
&
SRMMU_PMD_MASK
;
start
=
(
start
+
SRMMU_PMD_SIZE
_SOFT
)
&
SRMMU_PMD_MASK_SOFT
;
}
}
}
}
...
@@ -1101,7 +1101,7 @@ void __init srmmu_allocate_ptable_skeleton(unsigned long start, unsigned long en
...
@@ -1101,7 +1101,7 @@ void __init srmmu_allocate_ptable_skeleton(unsigned long start, unsigned long en
}
}
if
(
start
>
(
0xffffffffUL
-
SRMMU_PMD_SIZE_SOFT
))
if
(
start
>
(
0xffffffffUL
-
SRMMU_PMD_SIZE_SOFT
))
break
;
break
;
start
=
(
start
+
SRMMU_PMD_SIZE
)
&
SRMMU_PMD_MASK
;
start
=
(
start
+
SRMMU_PMD_SIZE
_SOFT
)
&
SRMMU_PMD_MASK_SOFT
;
}
}
}
}
...
...
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