Re: [patch 2/4] Add ARCH_SUPPORTS_OPROFILE

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Ravnborg
Date: Wednesday, November 14, 2007 - 2:54 pm

> > 

I should have been more specific here.

We do NOT want a dedicated config symbol just for this.
For x86 use X86
For arm use ARM
For sparc64 use SPARC64
For sparc use SPARC32

etc. you get the picture.

For x86 (where I spend a fair amount of time recently)
there are several candidates to be moved to such a select
list.
Only reason not to do it then was to keep changes minimal.

It would look like this:

config X86
	select ARCH_HAS_KPROBES        # yada yada
	select ARCH_HAS_FOO            # more yada yada

If you select an undefined symbol kconfig will warn you so keep
an eye out for this (among all the other warnings kconfig spits out).

arm uses this for the different boards as a good example.
But they do not have the common-prefix rule in place.

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 2/4] Add ARCH_SUPPORTS_OPROFILE, Mathieu Desnoyers, (Tue Nov 13, 7:26 am)
Re: [patch 2/4] Add ARCH_SUPPORTS_OPROFILE, Sam Ravnborg, (Wed Nov 14, 12:41 pm)
Re: [patch 2/4] Add ARCH_SUPPORTS_OPROFILE, Mathieu Desnoyers, (Wed Nov 14, 2:35 pm)
Re: [patch 2/4] Add ARCH_SUPPORTS_OPROFILE, Sam Ravnborg, (Wed Nov 14, 2:54 pm)