Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212887
b: refs/heads/master
c: 2ed38b2
h: refs/heads/master
i:
  212885: 598ab9a
  212883: 17964cd
  212879: 0f53328
v: v3
  • Loading branch information
Matthew McClintock authored and Kumar Gala committed Oct 14, 2010
1 parent 623e376 commit 6f66e70
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 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: f7a07fd9617140c6111de82400ba1bad3162fb85
refs/heads/master: 2ed38b23597284cc96a97e295cb145a6202dfcd4
10 changes: 8 additions & 2 deletions trunk/arch/powerpc/kernel/head_fsl_booke.S
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,11 @@ _ENTRY(__early_start)
/* Check to see if we're the second processor, and jump
* to the secondary_start code if so
*/
mfspr r24,SPRN_PIR
cmpwi r24,0
lis r24, boot_cpuid@h
ori r24, r24, boot_cpuid@l
lwz r24, 0(r24)
cmpwi r24, -1
mfspr r24,SPRN_PIR
bne __secondary_start
#endif

Expand All @@ -175,6 +178,9 @@ _ENTRY(__early_start)
li r0,0
stwu r0,THREAD_SIZE-STACK_FRAME_OVERHEAD(r1)

rlwinm r22,r1,0,0,31-THREAD_SHIFT /* current thread_info */
stw r24, TI_CPU(r22)

bl early_init

#ifdef CONFIG_RELOCATABLE
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

extern void bootx_init(unsigned long r4, unsigned long phys);

int boot_cpuid;
int boot_cpuid = -1;
EXPORT_SYMBOL_GPL(boot_cpuid);
int boot_cpuid_phys;

Expand Down

0 comments on commit 6f66e70

Please sign in to comment.