forked from Imagelibrary/rtems
smp: Rely on BSS initialization
The _Per_CPU_Information is part of the BSS segment and must be zero initialized. Some processors may already poll some per-CPU fields and wait for a state change at this point.
This commit is contained in:
@@ -35,11 +35,6 @@
|
||||
size_t size;
|
||||
uintptr_t ptr;
|
||||
|
||||
/*
|
||||
* Initialize per CPU structures.
|
||||
*/
|
||||
size = (_SMP_Processor_count) * sizeof(Per_CPU_Control);
|
||||
memset( _Per_CPU_Information, '\0', size );
|
||||
|
||||
/*
|
||||
* Initialize per cpu pointer table
|
||||
|
||||
Reference in New Issue
Block a user