Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21071
b: refs/heads/master
c: aa49cdd
h: refs/heads/master
i:
  21069: cf278b1
  21067: 9ac7b58
  21063: 3d65ed6
  21055: e73c900
v: v3
  • Loading branch information
Jesse Brandeburg committed Mar 15, 2006
1 parent 27e28ac commit 3b88f36
Show file tree
Hide file tree
Showing 30 changed files with 207 additions and 385 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: 485ff09990416c75ae9593ddc71619939ab9dd51
refs/heads/master: aa49cdd93be6328113f0c146fc72be173d578d27
21 changes: 0 additions & 21 deletions trunk/arch/arm/common/locomo.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,22 +629,6 @@ static int locomo_resume(struct platform_device *dev)
}
#endif


#define LCM_ALC_EN 0x8000

void frontlight_set(struct locomo *lchip, int duty, int vr, int bpwf)
{
unsigned long flags;

spin_lock_irqsave(&lchip->lock, flags);
locomo_writel(bpwf, lchip->base + LOCOMO_FRONTLIGHT + LOCOMO_ALS);
udelay(100);
locomo_writel(duty, lchip->base + LOCOMO_FRONTLIGHT + LOCOMO_ALD);
locomo_writel(bpwf | LCM_ALC_EN, lchip->base + LOCOMO_FRONTLIGHT + LOCOMO_ALS);
spin_unlock_irqrestore(&lchip->lock, flags);
}


/**
* locomo_probe - probe for a single LoCoMo chip.
* @phys_addr: physical address of device.
Expand Down Expand Up @@ -704,11 +688,6 @@ __locomo_probe(struct device *me, struct resource *mem, int irq)
/* FrontLight */
locomo_writel(0, lchip->base + LOCOMO_FRONTLIGHT + LOCOMO_ALS);
locomo_writel(0, lchip->base + LOCOMO_FRONTLIGHT + LOCOMO_ALD);

/* Same constants can be used for collie and poodle
(depending on CONFIG options in original sharp code)? */
frontlight_set(lchip, 163, 0, 148);

/* Longtime timer */
locomo_writel(0, lchip->base + LOCOMO_LTINT);
/* SPI */
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/kernel/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@

#include <asm/mach/arch.h>

#include "compat.h"

/*
* Usage:
* - do not go blindly adding fields, add them at the end
Expand Down
13 changes: 0 additions & 13 deletions trunk/arch/arm/kernel/compat.h

This file was deleted.

3 changes: 1 addition & 2 deletions trunk/arch/arm/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <linux/kallsyms.h>
#include <linux/init.h>
#include <linux/cpu.h>
#include <linux/elfcore.h>

#include <asm/leds.h>
#include <asm/processor.h>
Expand Down Expand Up @@ -84,7 +83,7 @@ EXPORT_SYMBOL(pm_power_off);
* This is our default idle handler. We need to disable
* interrupts here to ensure we don't miss a wakeup call.
*/
static void default_idle(void)
void default_idle(void)
{
if (hlt_counter)
cpu_relax();
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp)
if (!test_ti_thread_flag(thread, TIF_USING_IWMMXT))
return -EACCES;
iwmmxt_task_release(thread); /* force a reload */
return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE)
return copy_from_user(&thead->fpstate.iwmmxt, ufp, IWMMXT_SIZE)
? -EFAULT : 0;
}

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

#include "compat.h"

#ifndef MEM_SIZE
#define MEM_SIZE (16*1024*1024)
#endif
Expand All @@ -55,7 +53,10 @@ static int __init fpe_setup(char *line)
__setup("fpe=", fpe_setup);
#endif

extern unsigned int mem_fclk_21285;
extern void paging_init(struct meminfo *, struct machine_desc *desc);
extern void convert_to_tag_list(struct tag *tags);
extern void squash_mem_tags(struct tag *tag);
extern void reboot_setup(char *str);
extern int root_mountflags;
extern void _stext, _text, _etext, __data_start, _edata, _end;
Expand Down
12 changes: 0 additions & 12 deletions trunk/arch/arm/mach-s3c2410/devs.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,17 +334,11 @@ static struct resource s3c_spi0_resource[] = {

};

static u64 s3c_device_spi0_dmamask = 0xffffffffUL;

struct platform_device s3c_device_spi0 = {
.name = "s3c2410-spi",
.id = 0,
.num_resources = ARRAY_SIZE(s3c_spi0_resource),
.resource = s3c_spi0_resource,
.dev = {
.dma_mask = &s3c_device_spi0_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};

EXPORT_SYMBOL(s3c_device_spi0);
Expand All @@ -365,17 +359,11 @@ static struct resource s3c_spi1_resource[] = {

};

static u64 s3c_device_spi1_dmamask = 0xffffffffUL;

struct platform_device s3c_device_spi1 = {
.name = "s3c2410-spi",
.id = 1,
.num_resources = ARRAY_SIZE(s3c_spi1_resource),
.resource = s3c_spi1_resource,
.dev = {
.dma_mask = &s3c_device_spi1_dmamask,
.coherent_dma_mask = 0xffffffffUL
}
};

EXPORT_SYMBOL(s3c_device_spi1);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ config KEXEC
strongly in flux, so no good recommendation can be made.

config CRASH_DUMP
bool "Build a kdump crash kernel (EXPERIMENTAL)"
bool "kernel crash dumps (EXPERIMENTAL)"
depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
help
Build a kernel suitable for use as a kdump capture kernel.
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/powerpc/boot/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,15 @@ _zimage_start:
bdnz 2b

/* Do a cache flush for our text, in case OF didn't */
3: lis r9,_start@ha
addi r9,r9,_start@l
3: lis r9,_start@h
add r9,r0,r9
lis r8,_etext@ha
addi r8,r8,_etext@l
add r8,r0,r8
4: dcbf r0,r9
icbi r0,r9
addi r9,r9,0x20
cmplw cr0,r9,r8
cmplwi 0,r9,8
blt 4b
sync
isync
Expand Down
Loading

0 comments on commit 3b88f36

Please sign in to comment.