Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74654
b: refs/heads/master
c: f435a91
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Dec 6, 2007
1 parent 2486129 commit c8eac12
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3743d33edf4e49376384822c57c4ee5cdf2d32f8
refs/heads/master: f435a91e66e7776f0c73fca5af3cb87c61130ed6
4 changes: 0 additions & 4 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -714,10 +714,6 @@ config ARCH_HAS_ILOG2_U64
bool
default n

config ARCH_SUPPORTS_OPROFILE
bool
default y if !MIPS_MT_SMTC

config GENERIC_FIND_NEXT_BIT
bool
default y
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/mips/pci/pci-bcm1480.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ static inline void WRITECFG32(u32 addr, u32 data)

int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
return K_BCM1480_INT_PCI_INTA + pin;
if (pin == 0)
return -1;

return K_BCM1480_INT_PCI_INTA - 1 + pin;
}

/* Do platform specific device initialization at pci_enable_device() time */
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ config GENERIC_TIME_VSYSCALL
bool
default X86_64

config ARCH_SUPPORTS_OPROFILE
bool
default y




config ZONE_DMA32
Expand Down
8 changes: 4 additions & 4 deletions trunk/kernel/Kconfig.instrumentation
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ config PROFILING

config OPROFILE
tristate "OProfile system profiling (EXPERIMENTAL)"
depends on PROFILING && !UML
depends on ARCH_SUPPORTS_OPROFILE || ALPHA || ARM || BLACKFIN || IA64 || M32R || PARISC || PPC || S390 || SUPERH || SPARC
depends on PROFILING
depends on (ALPHA || ARM || BLACKFIN || X86_32 || IA64 || M32R || MIPS || PARISC || PPC || S390 || SUPERH || SPARC || X86_64) && !UML
help
OProfile is a profiling system capable of profiling the
whole system, include the kernel, kernel modules, libraries,
Expand All @@ -31,8 +31,8 @@ config OPROFILE

config KPROBES
bool "Kprobes"
depends on KALLSYMS && MODULES && !UML
depends on X86_32 || IA64 || PPC || S390 || SPARC64 || X86_64 || AVR32
depends on KALLSYMS && MODULES
depends on (X86_32 || IA64 || PPC || S390 || SPARC64 || X86_64 || AVR32) && !UML
help
Kprobes allows you to trap at almost any kernel address and
execute a callback function. register_kprobe() establishes
Expand Down

0 comments on commit c8eac12

Please sign in to comment.