diff options
author | Mike Travis <[email protected]> | 2008-06-27 10:10:13 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2008-07-08 13:16:16 +0200 |
commit | 6a2f47ca27fad36f99e8478a3807d4b8c7db80e7 (patch) | |
tree | 9d281e3969e5431b1d330cbdc3ee13d626fba4ee /net/lapb/lapb_subr.c | |
parent | cd5dce2fb023a6f0168344b7dd8adec30017458e (diff) |
x86: add check for node passed to node_to_cpumask, v3
* When CONFIG_DEBUG_PER_CPU_MAPS is set, the node passed to
node_to_cpumask and node_to_cpumask_ptr should be validated.
If invalid, then a dump_stack is performed and a zero cpumask
is returned.
v2: Slightly different version to remove a compiler warning.
v3: Redone to reflect moving setup.c -> setup_percpu.c
Signed-off-by: Mike Travis <[email protected]>
Cc: Vegard Nossum <[email protected]>
Cc: "[email protected]" <[email protected]>
Cc: Yinghai Lu <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions