x86: GEODE: cache results from geode_has_vsa2() and uninline
authorAndres Salomon <dilinger@queued.net>
Wed, 7 May 2008 20:07:37 +0000 (13:07 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 8 May 2008 13:43:50 +0000 (15:43 +0200)
commit547acec7ecc32b14c2740de3f32ce7d1b36a0f69
treec51565daaff629d6cdb1e8ddd5eb02158b59f6ec
parentac44cc96fbc8f44c056fa37573e8447eec512b10
x86: GEODE: cache results from geode_has_vsa2() and uninline

This moves geode_has_vsa2 into a .c file, caches the result we get from
the VSA virtual registers, and causes the function to no longer be inline.

[akpm@linux-foundation.org: cleanup]

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/geode_32.c
include/asm-x86/geode.h