Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105079
b: refs/heads/master
c: 4fe1689
h: refs/heads/master
i:
  105077: 4b90e16
  105075: 60fdce7
  105071: ab9c340
v: v3
  • Loading branch information
Karl Beldan authored and Pierre Ossman committed Jul 23, 2008
1 parent 1b7d18d commit 4723edf
Show file tree
Hide file tree
Showing 122 changed files with 1,985 additions and 7,372 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: 5554b35933245e95710d709175e14c02cbc956a4
refs/heads/master: 4fe16897c59882420d66f2d503106653d026ed6c
1 change: 0 additions & 1 deletion trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ config ARM
select RTC_LIB
select SYS_SUPPORTS_APM_EMULATION
select HAVE_OPROFILE
select HAVE_ARCH_KGDB
select HAVE_KPROBES if (!XIP_KERNEL)
select HAVE_KRETPROBES if (HAVE_KPROBES)
select HAVE_FTRACE if (!XIP_KERNEL)
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ obj-$(CONFIG_KPROBES) += kprobes.o kprobes-decode.o
obj-$(CONFIG_ATAGS_PROC) += atags.o
obj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o
obj-$(CONFIG_ARM_THUMBEE) += thumbee.o
obj-$(CONFIG_KGDB) += kgdb.o

obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o
AFLAGS_crunch-bits.o := -Wa,-mcpu=ep9312
Expand Down
201 changes: 0 additions & 201 deletions trunk/arch/arm/kernel/kgdb.c

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <asm/mach/arch.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
#include <asm/traps.h>

#include "compat.h"
#include "atags.h"
Expand Down Expand Up @@ -854,7 +853,6 @@ void __init setup_arch(char **cmdline_p)
conswitchp = &dummy_con;
#endif
#endif
early_trap_init();
}


Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,11 +707,6 @@ void abort(void)
EXPORT_SYMBOL(abort);

void __init trap_init(void)
{
return;
}

void __init early_trap_init(void)
{
unsigned long vectors = CONFIG_VECTORS_BASE;
extern char __stubs_start[], __stubs_end[];
Expand Down
27 changes: 13 additions & 14 deletions trunk/arch/avr32/mach-at32ap/at32ap700x.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/dw_dmac.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/platform_device.h>
Expand Down Expand Up @@ -595,17 +594,6 @@ static void __init genclk_init_parent(struct clk *clk)
clk->parent = parent;
}

static struct dw_dma_platform_data dw_dmac0_data = {
.nr_channels = 3,
};

static struct resource dw_dmac0_resource[] = {
PBMEM(0xff200000),
IRQ(2),
};
DEFINE_DEV_DATA(dw_dmac, 0);
DEV_CLK(hclk, dw_dmac0, hsb, 10);

/* --------------------------------------------------------------------
* System peripherals
* -------------------------------------------------------------------- */
Expand Down Expand Up @@ -720,6 +708,17 @@ static struct clk pico_clk = {
.users = 1,
};

static struct resource dmaca0_resource[] = {
{
.start = 0xff200000,
.end = 0xff20ffff,
.flags = IORESOURCE_MEM,
},
IRQ(2),
};
DEFINE_DEV(dmaca, 0);
DEV_CLK(hclk, dmaca0, hsb, 10);

/* --------------------------------------------------------------------
* HMATRIX
* -------------------------------------------------------------------- */
Expand Down Expand Up @@ -832,7 +831,7 @@ void __init at32_add_system_devices(void)
platform_device_register(&at32_eic0_device);
platform_device_register(&smc0_device);
platform_device_register(&pdc_device);
platform_device_register(&dw_dmac0_device);
platform_device_register(&dmaca0_device);

platform_device_register(&at32_tcb0_device);
platform_device_register(&at32_tcb1_device);
Expand Down Expand Up @@ -2033,7 +2032,7 @@ struct clk *at32_clock_list[] = {
&smc0_mck,
&pdc_hclk,
&pdc_pclk,
&dw_dmac0_hclk,
&dmaca0_hclk,
&pico_clk,
&pio0_mck,
&pio1_mck,
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ config PPC
select HAVE_FTRACE
select HAVE_IDE
select HAVE_KPROBES
select HAVE_ARCH_KGDB
select HAVE_KRETPROBES
select HAVE_LMB
select HAVE_DMA_ATTRS if PPC64
Expand Down
50 changes: 44 additions & 6 deletions trunk/arch/powerpc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ config HCALL_STATS
This option will add a small amount of overhead to all hypervisor
calls.

config DEBUGGER
bool "Enable debugger hooks"
depends on DEBUG_KERNEL
help
Include in-kernel hooks for kernel debuggers. Unless you are
intending to debug the kernel, say N here.

config KGDB
bool "Include kgdb kernel debugger"
depends on DEBUGGER && (BROKEN || PPC_GEN550 || 4xx)
select DEBUG_INFO
help
Include in-kernel hooks for kgdb, the Linux kernel source level
debugger. See <http://kgdb.sourceforge.net/> for more information.
Unless you are intending to debug the kernel, say N here.

config CODE_PATCHING_SELFTEST
bool "Run self-tests of the code-patching code."
depends on DEBUG_KERNEL
Expand All @@ -51,9 +67,36 @@ config FTR_FIXUP_SELFTEST
depends on DEBUG_KERNEL
default n

choice
prompt "Serial Port"
depends on KGDB
default KGDB_TTYS1

config KGDB_TTYS0
bool "ttyS0"

config KGDB_TTYS1
bool "ttyS1"

config KGDB_TTYS2
bool "ttyS2"

config KGDB_TTYS3
bool "ttyS3"

endchoice

config KGDB_CONSOLE
bool "Enable serial console thru kgdb port"
depends on KGDB && 8xx || CPM2
help
If you enable this, all serial console messages will be sent
over the gdb stub.
If unsure, say N.

config XMON
bool "Include xmon kernel debugger"
depends on DEBUG_KERNEL
depends on DEBUGGER
help
Include in-kernel hooks for the xmon kernel monitor/debugger.
Unless you are intending to debug the kernel, say N here.
Expand Down Expand Up @@ -83,11 +126,6 @@ config XMON_DISASSEMBLY
to say Y here, unless you're building for a memory-constrained
system.

config DEBUGGER
bool
depends on KGDB || XMON
default y

config IRQSTACKS
bool "Use separate kernel stacks when processing interrupts"
help
Expand Down
Loading

0 comments on commit 4723edf

Please sign in to comment.