Do not call SN_SAL_SET_CPU_NUMBER twice on cpu 0
Quoted 5 lines · Jay Lan
This is an SN specific patch.
Architectually,
cpu_initis always called twice on cpu 0 and thus resulted in twoSN_SAL_SET_CPU_NUMBERcalls.
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_initcall and skips the second call toSN_SAL_SET_CPU_NUMBER.Signed-off-by Jay Lan <[email protected]>
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/