kernel/cpu_topology: Fix a casting issue in the topology tree printing.
authorSascha Wildner <saw@online.de>
Fri, 28 Mar 2014 22:18:02 +0000 (23:18 +0100)
committerSascha Wildner <saw@online.de>
Fri, 28 Mar 2014 22:18:02 +0000 (23:18 +0100)
commit9fc6d334e11f9583da60715ace56b574314fb4c6
tree4b1aaf41378ba3f507a8d6e36616bcae7a7bec2e
parenta1a103b333759c4dcc9c144773f859d051e6e14a
kernel/cpu_topology: Fix a casting issue in the topology tree printing.

compute_unit_id is uint8_t so it's actually 0xff we want to check for.
Before this commit, the "... != -1" checks were always true.
sys/kern/subr_cpu_topology.c