2005-11-23 08:39:04

by Meelis Roos

[permalink] [raw]
Subject: MTRR compile failure in git

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)

--
Meelis Roos ([email protected])


2005-11-23 08:49:36

by Boris Zhmurov

[permalink] [raw]
Subject: Re: MTRR compile failure in git

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 <[email protected]> Wed, 23 Nov 2005
06:38:04 -0800
committer David S. Miller <[email protected]> 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>





--
Boris B. Zhmurov
mailto: [email protected]
"wget http://kernelpanic.ru/bb_public_key.pgp -O - | gpg --import"