.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SETUP_CPU_MAPS" "9" "09 October 2005" "" ""
.SH NAME
setup_cpu_maps \- initialize the following cpu maps:
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void __init setup_cpu_maps ( \fIvoid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvoid\fB\fR
no arguments
.SH "DESCRIPTION"
.PP
cpu_possible_map
cpu_present_map
cpu_sibling_map
.PP
Having the possible map set up early allows us to restrict allocations
of things like irqstacks to \fBnum_possible_cpus\fR rather than NR_CPUS.
.PP
We do not initialize the online map here; cpus set their own bits in
cpu_online_map as they come up.
.PP
This function is valid only for Open Firmware systems. finish_device_tree
must be called before using this.
.PP
While we're here, we may as well set the ``physical'' cpu ids in the paca.