Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31199
b: refs/heads/master
c: 33dbcf7
h: refs/heads/master
i:
  31197: bbe774b
  31195: 8db0860
  31191: fa09d64
  31183: 06dbcd1
  31167: 702dce6
v: v3
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Jun 29, 2006
1 parent 86a6e09 commit 02be919
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: feb76c7b23fb660f015583359a4c75a1139c0d36
refs/heads/master: 33dbcf72f607f5da791402e161feaf1ccf5d5be4
11 changes: 0 additions & 11 deletions trunk/arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1583,9 +1583,6 @@ _GLOBAL(__start_initialization_multiplatform)
/* Setup some critical 970 SPRs before switching MMU off */
bl .__970_cpu_preinit

/* cpu # */
li r24,0

/* Switch off MMU if not already */
LOAD_REG_IMMEDIATE(r4, .__after_prom_start - KERNELBASE)
add r4,r4,r30
Expand Down Expand Up @@ -1946,14 +1943,6 @@ _STATIC(start_here_common)
li r3,0
bl .do_cpu_ftr_fixups

LOAD_REG_IMMEDIATE(r26, boot_cpuid)
lwz r26,0(r26)

LOAD_REG_IMMEDIATE(r24, paca) /* Get base vaddr of paca array */
mulli r13,r26,PACA_SIZE /* Calculate vaddr of right paca */
add r13,r13,r24 /* for this processor. */
mtspr SPRN_SPRG3,r13

/* ptr to current */
LOAD_REG_IMMEDIATE(r4, init_task)
std r4,PACACURRENT(r13)
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ void __init setup_paca(int cpu)

void __init early_setup(unsigned long dt_ptr)
{
/* Assume we're on cpu 0 for now. Don't write to the paca yet! */
setup_paca(0);

/* Enable early debugging if any specified (see udbg.h) */
udbg_early_init();

Expand Down

0 comments on commit 02be919

Please sign in to comment.