linux/arch/mips
Mathieu Desnoyers 42d4b839c8 Add HAVE_OPROFILE
Linus:
On the per-architecture side, I do think it would be better to *not* have
internal architecture knowledge in a generic file, and as such a line like

        depends on X86_32 || IA64 || PPC || S390 || SPARC64 || X86_64 || AVR32

really shouldn't exist in a file like kernel/Kconfig.instrumentation.

It would be much better to do

        depends on ARCH_SUPPORTS_KPROBES

in that generic file, and then architectures that do support it would just
have a

        bool ARCH_SUPPORTS_KPROBES
                default y

in *their* architecture files. That would seem to be much more logical,
and is readable both for arch maintainers *and* for people who have no
clue - and don't care - about which architecture is supposed to support
which interface...

Changelog:

Actually, I know I gave this as the magic incantation, but now that I see
it, I realize that I should have told you to just use

        config ARCH_SUPPORTS_KPROBES
                def_bool y

instead, which is a bit denser.

We seem to use both kinds of syntax for these things, but this is really
what "def_bool" is there for...

Changelog :

- Moving to HAVE_*.
- Add AVR32 oprofile.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2008-02-03 08:58:07 +01:00
..
au1000 [MIPS] MTX-1: Add GPIO system button 2008-01-29 10:15:01 +00:00
basler/excite [MIPS]: constify function pointer tables 2008-01-29 10:15:03 +00:00
bcm47xx [MIPS] Kill duplicated setup_irq() for cp0 timer 2007-10-19 18:15:58 +01:00
boot [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
cobalt [MIPS] add cpu_wait() to machine_halt() 2008-01-29 10:15:00 +00:00
configs [MIPS] Qemu: Remove platform. 2008-01-29 10:15:02 +00:00
dec [MIPS] time: remove unused mips_timer_state() 2008-01-29 10:15:00 +00:00
emma2rh [MIPS] Kill duplicated setup_irq() for cp0 timer 2007-10-19 18:15:58 +01:00
fw [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
gt64120/wrppmc [MIPS] remove unused mips_machtype 2008-01-29 10:14:55 +00:00
jazz [MIPS] Cleanup pcspeaker platform device registration. 2008-01-29 10:14:57 +00:00
jmr3927 [MIPS] TXx9 watchdog support for rbhma3100,rbhma4200,rbhma4500 2008-01-29 10:14:58 +00:00
kernel [MIPS] Fix build after b0rked changes to <linux/init.h>. 2008-02-01 14:48:43 +00:00
lasat [MIPS] Lasat: Convert pvc_sem semaphore to mutex 2008-01-29 10:15:01 +00:00
lemote/lm2e [MIPS] Fulong: don't reinitialize pci_probe_only to it's default value. 2008-01-29 10:14:59 +00:00
lib [MIPS] Eleminate local symbols from the symbol table. 2008-01-29 10:14:59 +00:00
math-emu [MIPS] Compliment va_start() with va_end(). 2007-11-26 17:26:15 +00:00
mips-boards [MIPS] Malta: remaining bits of the board support code cleanup 2008-01-29 10:15:05 +00:00
mipssim [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
mm [MIPS] Split the micro-assembler from tlbex.c. 2008-02-01 14:48:44 +00:00
oprofile [MIPS] Extend performance counter event field. 2008-01-29 10:14:59 +00:00
pci [MIPS] BCM1480: Use constants instead of magic numbers in PCI code. 2008-01-29 10:14:59 +00:00
philips/pnx8550 [MIPS] pnx8xxx: clocksource cleanups 2008-01-29 10:15:01 +00:00
pmc-sierra [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
sgi-ip22 [MIPS] IP28 support 2008-01-29 10:14:58 +00:00
sgi-ip27 [MIPS] SMP: Call platform methods via ops structure. 2008-01-29 10:14:57 +00:00
sgi-ip32 [MIPS] Fix IP32 breakage 2008-01-07 15:32:03 +00:00
sibyte [MIPS] Remove CONFIG_SIBYTE_PT{1120,1125,SWARM} 2008-01-29 10:14:58 +00:00
sni [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
tx4927 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-01-29 22:48:03 +11:00
tx4938 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2008-01-29 22:48:03 +11:00
vr41xx [MIPS] move vr41xx_calculate_clock_frequency() to plat_time_init() 2008-01-29 10:15:00 +00:00
defconfig [MIPS] Qemu: Remove platform. 2008-01-29 10:15:02 +00:00
Kconfig Add HAVE_OPROFILE 2008-02-03 08:58:07 +01:00
Kconfig.debug [MIPS] Kbuild: Use the new cc-cross-prefix feature. 2007-10-22 22:09:01 +01:00
Makefile [MIPS] Qemu: Remove platform. 2008-01-29 10:15:02 +00:00