From: Benjamin Herrenschmidt Date: Fri, 18 Apr 2008 06:56:15 +0000 (+1000) Subject: [POWERPC] Add thread_info_cache_init() weak hook X-Git-Tag: v2.6.26-rc1~1055^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c9843e57a7d9d7a090d6467a0f1f3afb8031527;p=pandora-kernel.git [POWERPC] Add thread_info_cache_init() weak hook Some architectures need to maintain a kmem cache for thread info structures. The next commit adds that to powerpc to fix an alignment problem. There is no good arch callback to use to initialize that cache that I can find, so this adds a new one in the form of a weak function whose default is empty. Signed-off-by: Benjamin Herrenschmidt Acked-by: Andrew Morton Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed