Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74659
b: refs/heads/master
c: 9d29213
h: refs/heads/master
i:
  74657: 5c94ba4
  74655: 5c50131
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Dec 6, 2007
1 parent 268e834 commit 637f55e
Show file tree
Hide file tree
Showing 132 changed files with 830 additions and 5,758 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: ceaeee6ad6c2a24bf37d9f426414cf3007432352
refs/heads/master: 9d29213fd469c4c409a30b8dbb88c4efcba6e0a6
7 changes: 7 additions & 0 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2598,6 +2598,13 @@ L: https://tango.0pointer.de/mailman/listinfo/s270-linux
W: http://0pointer.de/lennart/tchibo.html
S: Maintained

MTRR AND SIMILAR SUPPORT [i386]
P: Richard Gooch
M: rgooch@atnf.csiro.au
L: linux-kernel@vger.kernel.org
W: http://www.atnf.csiro.au/~rgooch/linux/kernel-patches.html
S: Maintained

MULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) AND SDIO SUBSYSTEM
P: Pierre Ossman
M: drzeus-mmc@drzeus.cx
Expand Down
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
2 changes: 1 addition & 1 deletion trunk/arch/mips/au1000/common/dbdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ dbdma_interrupt(int irq, void *dev_id)

intstat = dbdma_gptr->ddma_intstat;
au_sync();
chan_index = __ffs(intstat);
chan_index = ffs(intstat);

ctp = chan_tab_ptr[chan_index];
cp = ctp->chan_ptr;
Expand Down
16 changes: 8 additions & 8 deletions trunk/arch/mips/au1000/common/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ static void intc0_req0_irqdispatch(void)
return;
}
#endif
bit = __ffs(intc0_req0);
bit = ffs(intc0_req0);
intc0_req0 &= ~(1 << bit);
do_IRQ(AU1000_INTC0_INT_BASE + bit);
do_IRQ(MIPS_CPU_IRQ_BASE + bit);
}


Expand All @@ -478,9 +478,9 @@ static void intc0_req1_irqdispatch(void)
if (!intc0_req1)
return;

bit = __ffs(intc0_req1);
bit = ffs(intc0_req1);
intc0_req1 &= ~(1 << bit);
do_IRQ(AU1000_INTC0_INT_BASE + bit);
do_IRQ(bit);
}


Expand All @@ -498,9 +498,9 @@ static void intc1_req0_irqdispatch(void)
if (!intc1_req0)
return;

bit = __ffs(intc1_req0);
bit = ffs(intc1_req0);
intc1_req0 &= ~(1 << bit);
do_IRQ(AU1000_INTC1_INT_BASE + bit);
do_IRQ(MIPS_CPU_IRQ_BASE + 32 + bit);
}


Expand All @@ -514,9 +514,9 @@ static void intc1_req1_irqdispatch(void)
if (!intc1_req1)
return;

bit = __ffs(intc1_req1);
bit = ffs(intc1_req1);
intc1_req1 &= ~(1 << bit);
do_IRQ(AU1000_INTC1_INT_BASE + bit);
do_IRQ(MIPS_CPU_IRQ_BASE + 32 + bit);
}

asmlinkage void plat_irq_dispatch(void)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/au1000/pb1200/irqmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ irqreturn_t pb1200_cascade_handler( int irq, void *dev_id)
bcsr->int_status = bisr;
for( ; bisr; bisr &= (bisr-1) )
{
extirq_nr = PB1200_INT_BEGIN + __ffs(bisr);
extirq_nr = PB1200_INT_BEGIN + ffs(bisr);
/* Ack and dispatch IRQ */
do_IRQ(extirq_nr);
}
Expand Down
44 changes: 6 additions & 38 deletions trunk/arch/mips/oprofile/op_model_mipsxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Copyright (C) 2004, 05, 06 by Ralf Baechle
* Copyright (C) 2005 by MIPS Technologies, Inc.
*/
#include <linux/cpumask.h>
#include <linux/oprofile.h>
#include <linux/interrupt.h>
#include <linux/smp.h>
Expand Down Expand Up @@ -34,45 +33,11 @@
#ifdef CONFIG_MIPS_MT_SMP
#define WHAT (M_TC_EN_VPE | M_PERFCTL_VPEID(smp_processor_id()))
#define vpe_id() smp_processor_id()

/*
* The number of bits to shift to convert between counters per core and
* counters per VPE. There is no reasonable interface atm to obtain the
* number of VPEs used by Linux and in the 34K this number is fixed to two
* anyways so we hardcore a few things here for the moment. The way it's
* done here will ensure that oprofile VSMP kernel will run right on a lesser
* core like a 24K also or with maxcpus=1.
*/
static inline unsigned int vpe_shift(void)
{
if (num_possible_cpus() > 1)
return 1;

return 0;
}

#else

#define WHAT 0
#define vpe_id() 0

static inline unsigned int vpe_shift(void)
{
return 0;
}

#endif

static inline unsigned int counters_total_to_per_cpu(unsigned int counters)
{
return counters >> vpe_shift();
}

static inline unsigned int counters_per_cpu_to_total(unsigned int counters)
{
return counters << vpe_shift();
}

#define __define_perf_accessors(r, n, np) \
\
static inline unsigned int r_c0_ ## r ## n(void) \
Expand Down Expand Up @@ -304,7 +269,9 @@ static int __init mipsxx_init(void)

reset_counters(counters);

counters = counters_total_to_per_cpu(counters);
#ifdef CONFIG_MIPS_MT_SMP
counters >>= 1;
#endif

op_model_mipsxx_ops.num_counters = counters;
switch (current_cpu_type()) {
Expand Down Expand Up @@ -363,8 +330,9 @@ static int __init mipsxx_init(void)
static void mipsxx_exit(void)
{
int counters = op_model_mipsxx_ops.num_counters;

counters = counters_per_cpu_to_total(counters);
#ifdef CONFIG_MIPS_MT_SMP
counters <<= 1;
#endif
reset_counters(counters);

perf_irq = null_perf_irq;
Expand Down
5 changes: 1 addition & 4 deletions trunk/arch/mips/pci/pci-bcm1480.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ static inline void WRITECFG32(u32 addr, u32 data)

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

return K_BCM1480_INT_PCI_INTA - 1 + pin;
return K_BCM1480_INT_PCI_INTA + pin;
}

/* Do platform specific device initialization at pci_enable_device() time */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ kernel-y := mm/ kernel/ math-emu/ kernel/init_task.o
kernel-$(CONFIG_HPUX) += hpux/

core-y += $(addprefix arch/parisc/, $(kernel-y))
libs-y += arch/parisc/lib/
libs-y += arch/parisc/lib/ `$(CC) -print-libgcc-file-name`

drivers-$(CONFIG_OPROFILE) += arch/parisc/oprofile/

Expand Down
22 changes: 22 additions & 0 deletions trunk/arch/parisc/kernel/parisc_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,31 @@ EXPORT_SYMBOL($$divI_12);
EXPORT_SYMBOL($$divI_14);
EXPORT_SYMBOL($$divI_15);

extern void __ashrdi3(void);
extern void __ashldi3(void);
extern void __lshrdi3(void);
extern void __muldi3(void);

EXPORT_SYMBOL(__ashrdi3);
EXPORT_SYMBOL(__ashldi3);
EXPORT_SYMBOL(__lshrdi3);
EXPORT_SYMBOL(__muldi3);

asmlinkage void * __canonicalize_funcptr_for_compare(void *);
EXPORT_SYMBOL(__canonicalize_funcptr_for_compare);

#ifdef CONFIG_64BIT
extern void __divdi3(void);
extern void __udivdi3(void);
extern void __umoddi3(void);
extern void __moddi3(void);

EXPORT_SYMBOL(__divdi3);
EXPORT_SYMBOL(__udivdi3);
EXPORT_SYMBOL(__umoddi3);
EXPORT_SYMBOL(__moddi3);
#endif

#ifndef CONFIG_64BIT
extern void $$dyncall(void);
EXPORT_SYMBOL($$dyncall);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

lib-y := lusercopy.o bitops.o checksum.o io.o memset.o fixup.o memcpy.o

obj-y := libgcc/ milli/ iomap.o
obj-y := iomap.o
4 changes: 0 additions & 4 deletions trunk/arch/parisc/lib/libgcc/Makefile

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/arch/parisc/lib/libgcc/__ashldi3.c

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/arch/parisc/lib/libgcc/__ashrdi3.c

This file was deleted.

30 changes: 0 additions & 30 deletions trunk/arch/parisc/lib/libgcc/__clzsi2.c

This file was deleted.

23 changes: 0 additions & 23 deletions trunk/arch/parisc/lib/libgcc/__divdi3.c

This file was deleted.

23 changes: 0 additions & 23 deletions trunk/arch/parisc/lib/libgcc/__divsi3.c

This file was deleted.

19 changes: 0 additions & 19 deletions trunk/arch/parisc/lib/libgcc/__lshrdi3.c

This file was deleted.

23 changes: 0 additions & 23 deletions trunk/arch/parisc/lib/libgcc/__moddi3.c

This file was deleted.

Loading

0 comments on commit 637f55e

Please sign in to comment.