search for: amd_size_cache

Displaying 2 results from an estimated 2 matches for "amd_size_cache".

2008 Oct 08
0
[PATCH 2/4] Import upstream git commit e9dff0ee6694b2edd40b1b448cb786f6a7b02336
...-r 3be554b47704 -r 0c2193e06af9 arch/i386/kernel/cpu/amd.c --- a/arch/i386/kernel/cpu/amd.c Wed Oct 08 13:06:36 2008 +0100 +++ b/arch/i386/kernel/cpu/amd.c Wed Oct 08 13:30:41 2008 +0100 @@ -246,7 +246,7 @@ static void __init init_amd(struct cpuin num_cache_leaves = 3; } -static unsigned int amd_size_cache(struct cpuinfo_x86 * c, unsigned int size) +static unsigned int __cpuinit amd_size_cache(struct cpuinfo_x86 * c, unsigned int size) { /* AMD errata T13 (order #21922) */ if ((c->x86 == 6)) { diff -r 3be554b47704 -r 0c2193e06af9 arch/i386/kernel/cpu/centaur.c --- a/arch/i386/kernel/cpu/centa...
2011 Jul 27
0
ubuntu 11.04 compile xen domain0 arch/x86/kernel/cpu/amd.c: In function ‘init_amd’ error
...d later $ sudo make CHK include/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC arch/x86/kernel/cpu/amd.o arch/x86/kernel/cpu/amd.c: In function ‘init_amd’: arch/x86/kernel/cpu/amd.c:643:18: error: ‘amd_size_cache’ undeclared (first use in this function) arch/x86/kernel/cpu/amd.c:643:18: note: each undeclared identifier is reported only once for each function it appears in arch/x86/kernel/cpu/amd.c:627:1: warning: ISO C90 forbids mixed declarations and code arch/x86/kernel/cpu/amd.c:670:1: warning: ISO C90 f...