Skip to contentSkip to conversation

one line fix in arch/i386/Kconfig

RFC Paolo Ciarrocchi 2 participants 2 messages Mar 7, 2003

lore
Share & tools
lore
#0 lore raw

From: Alan Cox <[email protected]>

Quoted 10 lines · Paolo Ciarrocchi
Quoted 6 lines

If I say that my cpu is not a PentiumIV why
he bothers me about "check for P4 thermal throttling interrupt." ?

This patch show that option only if you select that kind of CPU.

Is it correct ? Does it makes sense ?

We want people to be able to build a kernel which will run on many systems but still use CPU specific features.

Ah... ok I see the point, I could compile a kernel with PIII optimizations and then run it on a PIV.

But it is a complication in the configuration process. Do we agree on that ?

How about a config entry:
"Leave only the option related to the CPU I selected" ?

Ciao,
Paolo

Signature · 5 lines
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze
#1 lore raw
Followup to:  <[email protected]>
By author:    "Paolo Ciarrocchi" <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 10 lines
Quoted 3 lines

We want people to be able to build a kernel which will run on many systems but still use CPU specific features.

Ah... ok I see the point, I could compile a kernel with PIII optimizations and then run it on a PIV.

But it is a complication in the configuration process. Do we agree on that ?

Not really.

Quoted 4 lines

How about a config entry:
"Leave only the option related to the CPU I selected" ?

What we really need is to separate out "optimize for CPU" and "support CPU", kind of like gcc has -mcpu= and -march=.

-hpa

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64