Skip to contentSkip to conversation

MTRR compile failure in git

DISCUSSION Meelis Roos 2 participants 2 messages Nov 23, 2005

lore
Share & tools
lore
#0 lore raw

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)

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw

Hello, Meelis Roos.

On 23.11.2005 11:38 you said the following:

Quoted 6 lines

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.

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