Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143296
b: refs/heads/master
c: 27b1956
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Apr 14, 2009
1 parent 9531f4c commit c406da8
Show file tree
Hide file tree
Showing 49 changed files with 290 additions and 423 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: e9de427e403f2670a44b5795707d8a240fb018c2
refs/heads/master: 27b19565fe4ca5b0e9d2ae98ce4b81ca728bf445
3 changes: 0 additions & 3 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3680,7 +3680,6 @@ L: microblaze-uclinux@itee.uq.edu.au
W: http://www.monstr.eu/fdt/
T: git git://git.monstr.eu/linux-2.6-microblaze.git
S: Supported
F: arch/microblaze/

MICROTEK X6 SCANNER
P: Oliver Neukum
Expand Down Expand Up @@ -5314,9 +5313,7 @@ L: linux-sh@vger.kernel.org
W: http://www.linux-sh.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git
S: Supported
F: Documentation/sh/
F: arch/sh/
F: drivers/sh/

SUSPEND TO RAM
P: Len Brown
Expand Down
7 changes: 1 addition & 6 deletions trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
-e s/arm.*/arm/ -e s/sa110/arm/ \
-e s/s390x/s390/ -e s/parisc64/parisc/ \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
-e s/sh[234].*/sh/ )
-e s/sh.*/sh/ )

# Cross compiling and selecting different set of gcc/bin-utils
# ---------------------------------------------------------------------------
Expand Down Expand Up @@ -210,11 +210,6 @@ ifeq ($(ARCH),sparc64)
SRCARCH := sparc
endif

# Additional ARCH settings for sh
ifeq ($(ARCH),sh64)
SRCARCH := sh
endif

# Where to locate arch specific headers
hdr-arch := $(SRCARCH)

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/microblaze/include/asm/auxvec.h
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion trunk/arch/microblaze/include/asm/cputable.h
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion trunk/arch/microblaze/include/asm/ftrace.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/microblaze/include/asm/hw_irq.h
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 1 addition & 0 deletions trunk/arch/microblaze/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <asm/byteorder.h>
#include <asm/page.h>
#include <linux/types.h>
#include <asm/page.h>

#define IO_SPACE_LIMIT (0xFFFFFFFF)

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/microblaze/include/asm/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,4 @@

#define SO_MARK 36

#define SO_TIMESTAMPING 37
#define SCM_TIMESTAMPING SO_TIMESTAMPING

#endif /* _ASM_MICROBLAZE_SOCKET_H */
1 change: 0 additions & 1 deletion trunk/arch/microblaze/include/asm/user.h
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

1 change: 0 additions & 1 deletion trunk/arch/microblaze/include/asm/vga.h
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

10 changes: 6 additions & 4 deletions trunk/arch/microblaze/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ void of_device_make_bus_id(struct of_device *dev)
{
static atomic_t bus_no_reg_magic;
struct device_node *node = dev->node;
char *name = dev->dev.bus_id;
const u32 *reg;
u64 addr;
int magic;
Expand All @@ -24,8 +25,9 @@ void of_device_make_bus_id(struct of_device *dev)
if (reg) {
addr = of_translate_address(node, reg);
if (addr != OF_BAD_ADDR) {
dev_set_name(&dev->dev, "%llx.%s",
(unsigned long long)addr, node->name);
snprintf(name, BUS_ID_SIZE,
"%llx.%s", (unsigned long long)addr,
node->name);
return;
}
}
Expand All @@ -35,7 +37,7 @@ void of_device_make_bus_id(struct of_device *dev)
* counter (and pray...)
*/
magic = atomic_add_return(1, &bus_no_reg_magic);
dev_set_name(&dev->dev, "%s.%d", node->name, magic - 1);
snprintf(name, BUS_ID_SIZE, "%s.%d", node->name, magic - 1);
}
EXPORT_SYMBOL(of_device_make_bus_id);

Expand All @@ -56,7 +58,7 @@ struct of_device *of_device_alloc(struct device_node *np,
dev->dev.archdata.of_node = np;

if (bus_id)
dev_set_name(&dev->dev, bus_id);
strlcpy(dev->dev.bus_id, bus_id, BUS_ID_SIZE);
else
of_device_make_bus_id(dev);

Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/microblaze/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ void flush_thread(void)
{
}

int copy_thread(unsigned long clone_flags, unsigned long usp,
/* FIXME - here will be a proposed change -> remove nr parameter */
int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
unsigned long unused,
struct task_struct *p, struct pt_regs *regs)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/microblaze/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <asm/system.h>
#include <asm/mmu.h>
#include <asm/pgtable.h>
#include <linux/pci.h>
#include <asm/sections.h>
#include <asm/pci-bridge.h>

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/microblaze/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <linux/signal.h>

#include <linux/errno.h>
#include <linux/ptrace.h>
#include <asm/processor.h>
#include <linux/uaccess.h>
#include <asm/asm-offsets.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/microblaze/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <linux/uaccess.h>
#include <asm/pgtable.h>
#include <asm/pgalloc.h>
#include <linux/signal.h>
#include <linux/syscalls.h>
#include <asm/cacheflush.h>
#include <asm/syscalls.h>
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/microblaze/kernel/sys_microblaze.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include <linux/module.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/ipc.h>
#include <linux/semaphore.h>
#include <linux/syscalls.h>
#include <linux/uaccess.h>
#include <linux/unistd.h>

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/include/asm/parport.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma)
prop = of_get_property(np, "interrupts", NULL);
if (!prop)
continue;
if (parport_pc_probe_port(io1, io2, prop[0], autodma, NULL, 0) != NULL)
if (parport_pc_probe_port(io1, io2, prop[0], autodma, NULL) != NULL)
count++;
}
return count;
Expand Down
18 changes: 2 additions & 16 deletions trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ config SUPERH
select HAVE_GENERIC_DMA_COHERENT
select HAVE_IOREMAP_PROT if MMU
select HAVE_ARCH_TRACEHOOK
select HAVE_DMA_API_DEBUG
help
The SuperH is a RISC processor targeted for use in embedded systems
and consumer electronics; it was also used in the Sega Dreamcast
gaming console. The SuperH port has a home page at
<http://www.linux-sh.org/>.

config SUPERH32
def_bool ARCH = "sh"
def_bool !SUPERH64
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_FUNCTION_TRACER
Expand All @@ -32,7 +31,7 @@ config SUPERH32
select ARCH_HIBERNATION_POSSIBLE if MMU

config SUPERH64
def_bool ARCH = "sh64"
def_bool y if CPU_SH5

config ARCH_DEFCONFIG
string
Expand Down Expand Up @@ -188,8 +187,6 @@ config ARCH_SHMOBILE
bool
select ARCH_SUSPEND_POSSIBLE

if SUPERH32

choice
prompt "Processor sub-type selection"

Expand Down Expand Up @@ -411,15 +408,6 @@ config CPU_SUBTYPE_SH7366
select SYS_SUPPORTS_NUMA
select SYS_SUPPORTS_CMT

endchoice

endif

if SUPERH64

choice
prompt "Processor sub-type selection"

# SH-5 Processor Support

config CPU_SUBTYPE_SH5_101
Expand All @@ -432,8 +420,6 @@ config CPU_SUBTYPE_SH5_103

endchoice

endif

source "arch/sh/mm/Kconfig"

source "arch/sh/Kconfig.cpu"
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/boards/board-ap325rxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ static int ov7725_power(struct device *dev, int mode)
static struct ov772x_camera_info ov7725_info = {
.buswidth = SOCAM_DATAWIDTH_8,
.flags = OV772X_FLAG_VFLIP | OV772X_FLAG_HFLIP,
.edgectrl = OV772X_AUTO_EDGECTRL(0xf, 0),
.link = {
.power = ov7725_power,
},
Expand Down
30 changes: 0 additions & 30 deletions trunk/arch/sh/boards/board-urquell.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
* Renesas Technology Corp. SH7786 Urquell Support.
*
* Copyright (C) 2008 Kuninori Morimoto <morimoto.kuninori@renesas.com>
*
* Based on board-sh7785lcr.c
* Copyright (C) 2008 Yoshihiro Shimoda
*
* This file is subject to the terms and conditions of the GNU General Public
Expand All @@ -23,32 +21,6 @@
#include <asm/heartbeat.h>
#include <asm/sizes.h>

/*
* bit 1234 5678
*----------------------------
* SW1 0101 0010 -> Pck 33MHz version
* (1101 0010) Pck 66MHz version
* SW2 0x1x xxxx -> little endian
* 29bit mode
* SW47 0001 1000 -> CS0 : on-board flash
* CS1 : SRAM, registers, LAN, PCMCIA
* 38400 bps for SCIF1
*
* Address
* 0x00000000 - 0x04000000 (CS0) Nor Flash
* 0x04000000 - 0x04200000 (CS1) SRAM
* 0x05000000 - 0x05800000 (CS1) on board register
* 0x05800000 - 0x06000000 (CS1) LAN91C111
* 0x06000000 - 0x06400000 (CS1) PCMCIA
* 0x08000000 - 0x10000000 (CS2-CS3) DDR3
* 0x10000000 - 0x14000000 (CS4) PCIe
* 0x14000000 - 0x14800000 (CS5) Core0 LRAM/URAM
* 0x14800000 - 0x15000000 (CS5) Core1 LRAM/URAM
* 0x18000000 - 0x1C000000 (CS6) ATA/NAND-Flash
* 0x1C000000 - (CS7) SH7786 Control register
*/

/* HeartBeat */
static struct resource heartbeat_resources[] = {
[0] = {
.start = BOARDREG(SLEDR),
Expand All @@ -71,7 +43,6 @@ static struct platform_device heartbeat_device = {
.resource = heartbeat_resources,
};

/* LAN91C111 */
static struct smc91x_platdata smc91x_info = {
.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
};
Expand All @@ -98,7 +69,6 @@ static struct platform_device smc91x_eth_device = {
},
};

/* Nor Flash */
static struct mtd_partition nor_flash_partitions[] = {
{
.name = "loader",
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/sh/drivers/pci/ops-sh7785lcr.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,8 @@ EXPORT_SYMBOL(board_pci_channels);

static struct sh4_pci_address_map sh7785_pci_map = {
.window0 = {
#if defined(CONFIG_32BIT)
.base = SH7780_32BIT_DDR_BASE_ADDR,
.size = 0x40000000,
#else
.base = SH7780_CS0_BASE_ADDR,
.size = 0x20000000,
#endif
},

.flags = SH4_PCIC_NO_RESET,
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sh/drivers/pci/pci-sh7780.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@
#define SH7780_CS5_BASE_ADDR (SH7780_CS4_BASE_ADDR + SH7780_MEM_REGION_SIZE)
#define SH7780_CS6_BASE_ADDR (SH7780_CS5_BASE_ADDR + SH7780_MEM_REGION_SIZE)

#define SH7780_32BIT_DDR_BASE_ADDR 0x40000000

struct sh4_pci_address_map;

/* arch/sh/drivers/pci/pci-sh7780.c */
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/sh/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/dma-debug.h>
#include <asm/io.h>

static int __init pcibios_init(void)
Expand All @@ -44,8 +43,6 @@ static int __init pcibios_init(void)

pci_fixup_irqs(pci_common_swizzle, pcibios_map_platform_irq);

dma_debug_add_bus(&pci_bus_type);

return 0;
}
subsys_initcall(pcibios_init);
Expand Down
Loading

0 comments on commit c406da8

Please sign in to comment.