Skip to contentSkip to conversation

Do not call SN_SAL_SET_CPU_NUMBER twice on cpu 0

PATCH Horms 1 participant 1 message Dec 13, 2006

lore
Share & tools
lore

Horms

author
#0 lore raw
Quoted 5 lines · Jay Lan

This is an SN specific patch.

Architectually, cpu_init is always called twice on cpu 0 and thus resulted in two SN_SAL_SET_CPU_NUMBER calls.

Quoted 7 lines

This was harmless in production kernel; however, it can cause problem on booting up a crashdump kernel at Altix.

Here is the patch that detects the second sn_cpu_init call and skips the second call to SN_SAL_SET_CPU_NUMBER.

That looks fine to me.

Acked: Simon Horman <[email protected]>

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/