Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57127
b: refs/heads/master
c: f54496f
h: refs/heads/master
i:
  57125: 193da81
  57123: 36bac18
  57119: cb8d440
v: v3
  • Loading branch information
Linus Torvalds committed May 30, 2007
1 parent 0db6c26 commit 037fc3c
Show file tree
Hide file tree
Showing 120 changed files with 3,311 additions and 1,179 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: cdea460643072e1ee3647434aa254b5b81364f68
refs/heads/master: f54496f55a729078e9eef90bf9e0783857a27db1
2 changes: 1 addition & 1 deletion trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Who: Dan Dennedy <dan@dennedy.org>, Stefan Richter <stefanr@s5r6.in-berlin.de>
What: old NCR53C9x driver
When: October 2007
Why: Replaced by the much better esp_scsi driver. Actual low-level
driver can ported over almost trivially.
driver can be ported over almost trivially.
Who: David Miller <davem@davemloft.net>
Christoph Hellwig <hch@lst.de>

Expand Down
2 changes: 1 addition & 1 deletion trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2334,7 +2334,7 @@ S: Maintained

MEGARAID SCSI DRIVERS
P: Neela Syam Kolli
M: Neela.Kolli@engenio.com
M: megaraidlinux@lsi.com
S: linux-scsi@vger.kernel.org
W: http://megaraid.lsilogic.com
S: Maintained
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ config GENERIC_BUG
depends on BUG

config SYS_SUPPORTS_APM_EMULATION
default y if PMAC_APM_EMU
bool

config DEFAULT_UIMAGE
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/dts/lite5200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
interrupt-controller;
#interrupt-cells = <3>;
device_type = "interrupt-controller";
compatible = "mpc5200_pic";
compatible = "mpc5200-pic";
reg = <500 80>;
built-in;
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/dts/lite5200b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
interrupt-controller;
#interrupt-cells = <3>;
device_type = "interrupt-controller";
compatible = "mpc5200b-pic\0mpc5200_pic";
compatible = "mpc5200b-pic\0mpc5200-pic";
reg = <500 80>;
built-in;
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/mm/pgtable_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void pgd_free(pgd_t *pgd)
free_pages((unsigned long)pgd, PGDIR_ORDER);
}

pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
__init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
{
pte_t *pte;
extern int mem_init_done;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/chrp/pegasos_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static int Enable_SRAM(void)

/***********/
/***********/
int mv643xx_eth_add_pds(void)
static int __init mv643xx_eth_add_pds(void)
{
int ret = 0;
static struct pci_device_id pci_marvell_mv64360[] = {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/powermac/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ int boot_part;
static dev_t boot_dev;

#ifdef CONFIG_SCSI
void __init note_scsi_host(struct device_node *node, void *host)
void note_scsi_host(struct device_node *node, void *host)
{
int l;
char *p;
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/sysdev/qe_lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
config UCC_SLOW
bool
default n
select UCC
help
This option provides qe_lib support to UCC slow
protocols: UART, BISYNC, QMC

config UCC_FAST
bool
default n
select UCC
default y if UCC_GETH
help
This option provides qe_lib support to UCC fast
protocols: HDLC, Ethernet, ATM, transparent
Expand Down
18 changes: 15 additions & 3 deletions trunk/arch/ppc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,11 @@ fast_exception_return:
mr r12,r4 /* restart at exc_exit_restart */
b 2b

.comm fee_restarts,4
.section .bss
.align 2
fee_restarts:
.space 4
.previous

/* aargh, a nonrecoverable interrupt, panic */
/* aargh, we don't know which trap this is */
Expand Down Expand Up @@ -851,7 +855,11 @@ load_dbcr0:
mtspr SPRN_DBSR,r11 /* clear all pending debug events */
blr

.comm global_dbcr0,8
.section .bss
.align 4
global_dbcr0:
.space 8
.previous
#endif /* !(CONFIG_4xx || CONFIG_BOOKE) */

do_work: /* r10 contains MSR_KERNEL here */
Expand Down Expand Up @@ -926,4 +934,8 @@ END_FTR_SECTION_IFSET(CPU_FTR_601)
/* shouldn't return */
b 4b

.comm ee_restarts,4
.section .bss
.align 2
ee_restarts:
.space 4
.previous
2 changes: 0 additions & 2 deletions trunk/arch/ppc/kernel/ppc_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <asm/time.h>
#include <asm/cputable.h>
#include <asm/btext.h>
#include <asm/div64.h>
#include <asm/xmon.h>
#include <asm/signal.h>
#include <asm/dcr.h>
Expand Down Expand Up @@ -93,7 +92,6 @@ EXPORT_SYMBOL(strncpy);
EXPORT_SYMBOL(strcat);
EXPORT_SYMBOL(strlen);
EXPORT_SYMBOL(strcmp);
EXPORT_SYMBOL(__div64_32);

EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial_copy_generic);
Expand Down
20 changes: 16 additions & 4 deletions trunk/arch/ppc/mm/hashtable.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
#include <asm/asm-offsets.h>

#ifdef CONFIG_SMP
.comm mmu_hash_lock,4
.section .bss
.align 2
.globl mmu_hash_lock
mmu_hash_lock:
.space 4
#endif /* CONFIG_SMP */

/*
Expand Down Expand Up @@ -461,9 +465,17 @@ found_slot:
sync /* make sure pte updates get to memory */
blr

.comm next_slot,4
.comm primary_pteg_full,4
.comm htab_hash_searches,4
.section .bss
.align 2
next_slot:
.space 4
.globl primary_pteg_full
primary_pteg_full:
.space 4
.globl htab_hash_searches
htab_hash_searches:
.space 4
.previous

/*
* Flush the entry for a particular page from the hash table.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void pgd_free(pgd_t *pgd)
free_pages((unsigned long)pgd, PGDIR_ORDER);
}

pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
__init_refok pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address)
{
pte_t *pte;
extern int mem_init_done;
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@ config ARCH_HAS_ILOG2_U64
bool
default n

config EMULATED_CMPXCHG
bool
default y
help
Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
is emulated, and therefore it is not completely atomic.

config SUN_PM
bool
default y
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/sparc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ irqreturn_t timer_interrupt(int irq, void *dev_id)
}

/* Kick start a stopped clock (procedure from the Sun NVRAM/hostid FAQ). */
static void __init kick_start_clock(void)
static void __devinit kick_start_clock(void)
{
struct mostek48t02 *regs = (struct mostek48t02 *)mstk48t02_regs;
unsigned char sec;
Expand Down Expand Up @@ -223,7 +223,7 @@ static __inline__ int has_low_battery(void)
return (data1 == data2); /* Was the write blocked? */
}

static void __init mostek_set_system_time(void)
static void __devinit mostek_set_system_time(void)
{
unsigned int year, mon, day, hour, min, sec;
struct mostek48t02 *mregs;
Expand Down
15 changes: 15 additions & 0 deletions trunk/arch/sparc/lib/atomic32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* atomic32.c: 32-bit atomic_t implementation
*
* Copyright (C) 2004 Keith M Wesolowski
* Copyright (C) 2007 Kyle McMartin
*
* Based on asm-parisc/atomic.h Copyright (C) 2000 Philipp Rumpf
*/
Expand Down Expand Up @@ -117,3 +118,17 @@ unsigned long ___change_bit(unsigned long *addr, unsigned long mask)
return old & mask;
}
EXPORT_SYMBOL(___change_bit);

unsigned long __cmpxchg_u32(volatile u32 *ptr, u32 old, u32 new)
{
unsigned long flags;
u32 prev;

spin_lock_irqsave(ATOMIC_HASH(addr), flags);
if ((prev = *ptr) == old)
*ptr = new;
spin_unlock_irqrestore(ATOMIC_HASH(addr), flags);

return (unsigned long)prev;
}
EXPORT_SYMBOL(__cmpxchg_u32);
6 changes: 3 additions & 3 deletions trunk/arch/sparc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ config SMP
If you don't know what to do here, say N.

config NR_CPUS
int "Maximum number of CPUs (2-64)"
range 2 64
int "Maximum number of CPUs (2-1024)"
range 2 1024
depends on SMP
default "32"
default "64"

source "drivers/cpufreq/Kconfig"

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/sparc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ EXTRA_CFLAGS := -Werror
extra-y := head.o init_task.o vmlinux.lds

obj-y := process.o setup.o cpu.o idprom.o \
traps.o devices.o auxio.o una_asm.o \
traps.o auxio.o una_asm.o \
irq.o ptrace.o time.o sys_sparc.o signal.o \
unaligned.o central.o pci.o starfire.o semaphore.o \
power.o sbus.o iommu_common.o sparc64_ksyms.o chmc.o \
visemul.o prom.o of_device.o hvapi.o
visemul.o prom.o of_device.o hvapi.o sstate.o mdesc.o

obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-$(CONFIG_PCI) += ebus.o isa.o pci_common.o pci_iommu.o \
Expand Down
Loading

0 comments on commit 037fc3c

Please sign in to comment.