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
b542777c
Commit
b542777c
authored
Jul 24, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
parents
614312e8
1fcedc2b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
arch/ppc64/kernel/entry.S
arch/ppc64/kernel/entry.S
+4
-4
arch/ppc64/kernel/head.S
arch/ppc64/kernel/head.S
+1
-1
arch/ppc64/mm/init.c
arch/ppc64/mm/init.c
+2
-1
arch/ppc64/mm/numa.c
arch/ppc64/mm/numa.c
+1
-0
No files found.
arch/ppc64/kernel/entry.S
View file @
b542777c
...
...
@@ -132,7 +132,7 @@ system_call: /* label this so stack traces look sane */
*/
ld
r11
,
.
SYS_CALL_TABLE
@
toc
(
2
)
andi
.
r10
,
r10
,
_TIF_32BIT
beq
-
15
f
beq
15
f
ld
r11
,
.
SYS_CALL_TABLE32
@
toc
(
2
)
clrldi
r3
,
r3
,
32
clrldi
r4
,
r4
,
32
...
...
@@ -143,8 +143,8 @@ system_call: /* label this so stack traces look sane */
15
:
slwi
r0
,
r0
,
3
ldx
r10
,
r11
,
r0
/*
Fetch
system
call
handler
[
ptr
]
*/
mt
lr
r10
b
l
rl
/*
Call
handler
*/
mt
ctr
r10
b
ct
rl
/*
Call
handler
*/
syscall_exit
:
#ifdef SHOW_SYSCALLS
...
...
@@ -182,7 +182,7 @@ syscall_exit_trace_cont:
stdcx
.
r0
,
0
,
r1
/*
to
clear
the
reservation
*/
andi
.
r6
,
r8
,
MSR_PR
ld
r4
,
_LINK
(
r1
)
beq
1
f
/*
only
restore
r13
if
*/
beq
-
1
f
/*
only
restore
r13
if
*/
ld
r13
,
GPR13
(
r1
)
/*
returning
to
usermode
*/
1
:
ld
r2
,
GPR2
(
r1
)
ld
r1
,
GPR1
(
r1
)
...
...
arch/ppc64/kernel/head.S
View file @
b542777c
...
...
@@ -1028,7 +1028,7 @@ END_FTR_SECTION_IFCLR(CPU_FTR_SLB)
bl
.
local_irq_restore
b
11
f
#else
beq
+
fast_exception_return
/*
Return
from
exception
on
success
*/
beq
fast_exception_return
/*
Return
from
exception
on
success
*/
/
*
fall
through
*/
#endif
...
...
arch/ppc64/mm/init.c
View file @
b542777c
...
...
@@ -545,6 +545,8 @@ void __init do_init_bootmem(void)
boot_mapsize
=
init_bootmem
(
start
>>
PAGE_SHIFT
,
total_pages
);
max_pfn
=
max_low_pfn
;
/* add all physical memory to the bootmem map. Also find the first */
for
(
i
=
0
;
i
<
lmb
.
memory
.
cnt
;
i
++
)
{
unsigned
long
physbase
,
size
;
...
...
@@ -629,7 +631,6 @@ void __init mem_init(void)
num_physpages
=
max_low_pfn
;
/* RAM is assumed contiguous */
high_memory
=
(
void
*
)
__va
(
max_low_pfn
*
PAGE_SIZE
);
max_pfn
=
max_low_pfn
;
#ifdef CONFIG_DISCONTIGMEM
{
...
...
arch/ppc64/mm/numa.c
View file @
b542777c
...
...
@@ -356,6 +356,7 @@ void __init do_init_bootmem(void)
min_low_pfn
=
0
;
max_low_pfn
=
lmb_end_of_DRAM
()
>>
PAGE_SHIFT
;
max_pfn
=
max_low_pfn
;
if
(
parse_numa_properties
())
setup_nonnuma
();
...
...
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