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
872f2a3f
Commit
872f2a3f
authored
Feb 13, 2004
by
Benjamin Herrenschmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Add a missing isync in __hash_page, alloc hash table on PowerMac G5
parent
24b4482a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
arch/ppc64/mm/hash_low.S
arch/ppc64/mm/hash_low.S
+1
-1
arch/ppc64/mm/hash_utils.c
arch/ppc64/mm/hash_utils.c
+2
-1
No files found.
arch/ppc64/mm/hash_low.S
View file @
872f2a3f
...
@@ -95,7 +95,7 @@ _GLOBAL(__hash_page)
...
@@ -95,7 +95,7 @@ _GLOBAL(__hash_page)
/
*
Write
the
linux
PTE
atomically
(
setting
busy
)
*/
/
*
Write
the
linux
PTE
atomically
(
setting
busy
)
*/
stdcx
.
r30
,
0
,
r6
stdcx
.
r30
,
0
,
r6
bne
-
1
b
bne
-
1
b
isync
/
*
Step
2
:
/
*
Step
2
:
*
*
...
...
arch/ppc64/mm/hash_utils.c
View file @
872f2a3f
...
@@ -140,7 +140,8 @@ void __init htab_initialize(void)
...
@@ -140,7 +140,8 @@ void __init htab_initialize(void)
htab_data
.
htab_num_ptegs
=
pteg_count
;
htab_data
.
htab_num_ptegs
=
pteg_count
;
htab_data
.
htab_hash_mask
=
pteg_count
-
1
;
htab_data
.
htab_hash_mask
=
pteg_count
-
1
;
if
(
systemcfg
->
platform
==
PLATFORM_PSERIES
)
{
if
(
systemcfg
->
platform
==
PLATFORM_PSERIES
||
systemcfg
->
platform
==
PLATFORM_POWERMAC
)
{
/* Find storage for the HPT. Must be contiguous in
/* Find storage for the HPT. Must be contiguous in
* the absolute address space.
* the absolute address space.
*/
*/
...
...
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