Re: MTRR compile failure in git

From: Boris B. Zhmurov
Date: Wed Nov 23 2005 - 03:49:18 EST

Hello, Meelis Roos.

On 23.11.2005 11:38 you said the following:

CC arch/i386/kernel/cpu/mtrr/main.o
arch/i386/kernel/cpu/mtrr/main.c: In function 'set_mtrr':
arch/i386/kernel/cpu/mtrr/main.c:225: error: 'ipi_handler' undeclared (first use in this function)
arch/i386/kernel/cpu/mtrr/main.c:225: error: (Each undeclared identifier is reported only oncearch/i386/kernel/cpu/mtrr/main.c:225: error: for each function it appears in.)

x86 UP i686 (PIII)

Yep. That happens after that patch:

tree e7ba0f1bc8764c36859e2cfa9421bb1d86f2e7f4
parent b3a5225f31180322fd7d692fd4cf786702826b94
author Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> Wed, 23 Nov 2005 06:38:04 -0800
committer David S. Miller <davem@xxxxxxxxxxxxx> Wed, 23 Nov 2005 06:38:04 -0800

[NET]: Shut up warnings in net/core/flow.c

Not really a network problem, more a !SMP issue.

net/core/flow.c:295: warning: statement with no effect

flow.c:295: smp_call_function(flow_cache_flush_per_cpu, &info, 1, 0);

Fix this by converting the macro to an inline function, which
also increases the typechecking for !SMP builds.

Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

Boris B. Zhmurov
mailto: bb@xxxxxxxxxxxxxx
"wget -O - | gpg --import"

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at