]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Blackfin arch: show_cpuinfo - consolidate ugly casts
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)
commit275123e8ab59ee6379dcccbd05c5fcc418801b64
tree60fce6256d71a174097d004e31a8b60f6f194a01
parenta1ee74ca09cb8c5929bab0b16e0c58e7c85b9414
Blackfin arch: show_cpuinfo - consolidate ugly casts

rather than use *(unsigned int *)v everywhere, do this once with a local
cpu_num variable

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/setup.c