]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Export cpu_to_chip_id() to fix build error
authorGuenter Roeck <linux@roeck-us.net>
Tue, 10 Sep 2013 01:37:56 +0000 (18:37 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Sep 2013 01:39:37 +0000 (11:39 +1000)
commit793aec5056c7c1385731f1f1493f04ad894d1553
treef70a09a2956d8bc6f073e0256fce6a7ebef9da6c
parente1902e5fbf52db6dfea45a92b7441386d50411a1
powerpc: Export cpu_to_chip_id() to fix build error

powerpc allmodconfig build fails with:

ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined!

The problem was introduced with commit 9c7824a55 (powerpc: Make chip-id
information available to userspace).

Export the missing symbol.

Cc: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Cc: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c