Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63071
b: refs/heads/master
c: 933a620
h: refs/heads/master
i:
  63069: 6d36d7e
  63067: 66848b7
  63063: a3589a9
  63055: 25b9960
  63039: c9230b1
v: v3
  • Loading branch information
Linus Torvalds committed Jul 29, 2007
1 parent 328edea commit 8e55c91
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 30 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: f191f144079b0083c6fa7d01a4acbd7263fb5032
refs/heads/master: 933a6208d84c92d92f9264a2e28d0fc317d41fd1
1 change: 1 addition & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ config ARCH_PXA
select ARCH_MTD_XIP
select GENERIC_GPIO
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
help
Support for Intel's PXA2XX processor line.

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ void smp_send_stop(void)
/*
* not supported here
*/
int __init setup_profiling_timer(unsigned int multiplier)
int setup_profiling_timer(unsigned int multiplier)
{
return -EINVAL;
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,8 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs)

asmlinkage void do_unexp_fiq (struct pt_regs *regs)
{
#ifndef CONFIG_IGNORE_FIQ
printk("Hmm. Unexpected FIQ received, but trying to continue\n");
printk("You may have a hardware problem...\n");
#endif
}

/*
Expand Down
27 changes: 15 additions & 12 deletions trunk/arch/arm/mach-sa1100/jornada720.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*
* HP Jornada720 init code
*
* Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
* Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl>
* Copyright (C) 2005 Michael Gernoth <michael@gernoth.net>
*
Expand Down Expand Up @@ -220,14 +221,16 @@ static struct platform_device sa1111_device = {
.resource = sa1111_resources,
};

static struct platform_device jornada720_mcu_device = {
.name = "jornada720_mcu",
.id = -1,
static struct platform_device jornada_ssp_device = {
.name = "jornada_ssp",
.id = -1,
};

static struct platform_device *devices[] __initdata = {
&sa1111_device,
&jornada720_mcu_device,
#ifdef CONFIG_SA1100_JORNADA720_SSP
&jornada_ssp_device,
#endif
&s1d13xxxfb_device,
};

Expand All @@ -236,19 +239,19 @@ static int __init jornada720_init(void)
int ret = -ENODEV;

if (machine_is_jornada720()) {
GPDR |= GPIO_GPIO20;
/* oscillator setup (line 116 of HP's doc) */
/* we want to use gpio20 as input to drive the clock of our uart 3 */
GPDR |= GPIO_GPIO20; /* Clear gpio20 pin as input */
TUCR = TUCR_VAL;
/* resetting SA1111 (line 118 of HP's doc) */
GPSR = GPIO_GPIO20;
GPSR = GPIO_GPIO20; /* start gpio20 pin */
udelay(1);
GPCR = GPIO_GPIO20;
GPCR = GPIO_GPIO20; /* stop gpio20 */
udelay(1);
GPSR = GPIO_GPIO20;
udelay(20);
GPSR = GPIO_GPIO20; /* restart gpio20 */
udelay(20); /* give it some time to restart */

ret = platform_add_devices(devices, ARRAY_SIZE(devices));
}

return ret;
}

Expand Down Expand Up @@ -345,7 +348,7 @@ static void __init jornada720_mach_init(void)
}

MACHINE_START(JORNADA720, "HP Jornada 720")
/* Maintainer: Michael Gernoth <michael@gernoth.net> */
/* Maintainer: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> */
.phys_io = 0x80000000,
.io_pg_offst = ((0xf8000000) >> 18) & 0xfffc,
.boot_params = 0xc0000100,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-sa1100/jornada720_ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static int __init jornada_ssp_probe(struct platform_device *dev)
ret = jornada_ssp_inout(GETBRIGHTNESS);

/* seems like it worked, just feed it with TxDummy to get rid of data */
if (ret == TxDummy)
if (ret == TXDUMMY)
jornada_ssp_inout(TXDUMMY);

jornada_ssp_end();
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ config COMPAT
depends on IA32_SUPPORT
default y

config COMPAT_FOR_U64_ALIGNMENT
def_bool COMPAT

config IA64_MCA_RECOVERY
tristate "MCA recovery from errors other than TLB."

Expand Down
7 changes: 6 additions & 1 deletion trunk/arch/ia64/hp/common/sba_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2015,9 +2015,14 @@ acpi_sba_ioc_add(struct acpi_device *device)
return 0;
}

static const struct acpi_device_id hp_ioc_iommu_device_ids[] = {
{"HWP0001", 0},
{"HWP0004", 0},
{"", 0},
};
static struct acpi_driver acpi_sba_ioc_driver = {
.name = "IOC IOMMU Driver",
.ids = "HWP0001,HWP0004",
.ids = hp_ioc_iommu_device_ids,
.ops = {
.add = acpi_sba_ioc_add,
},
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ia64/hp/sim/simscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ simscsi_interrupt (unsigned long val)
{
struct scsi_cmnd *sc;

while ((sc = queue[rd].sc) != 0) {
while ((sc = queue[rd].sc) != NULL) {
atomic_dec(&num_reqs);
queue[rd].sc = NULL;
if (DBG)
Expand Down
9 changes: 4 additions & 5 deletions trunk/arch/ia64/kernel/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,16 +741,15 @@ int __init acpi_boot_init(void)

int acpi_gsi_to_irq(u32 gsi, unsigned int *irq)
{
int vector;
int tmp;

if (has_8259 && gsi < 16)
*irq = isa_irq_to_vector(gsi);
else {
vector = gsi_to_vector(gsi);
if (vector == -1)
tmp = gsi_to_irq(gsi);
if (tmp == -1)
return -1;

*irq = vector;
*irq = tmp;
}
return 0;
}
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/ia64/kernel/irq_ia64.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ static int __bind_irq_vector(int irq, int vector, cpumask_t domain)
int cpu;
struct irq_cfg *cfg = &irq_cfg[irq];

BUG_ON((unsigned)irq >= NR_IRQS);
BUG_ON((unsigned)vector >= IA64_NUM_VECTORS);

cpus_and(mask, domain, cpu_online_map);
if (cpus_empty(mask))
return -EINVAL;
Expand Down Expand Up @@ -286,7 +289,7 @@ static int __init parse_vector_domain(char *arg)
vector_domain_type = VECTOR_DOMAIN_PERCPU;
no_int_routing = 1;
}
return 1;
return 0;
}
early_param("vector", parse_vector_domain);
#else
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,9 @@ config COMPAT
depends on IA32_EMULATION
default y

config COMPAT_FOR_U64_ALIGNMENT
def_bool COMPAT

config SYSVIPC_COMPAT
bool
depends on COMPAT && SYSVIPC
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ asmlinkage long sys_quotactl(unsigned int cmd, const char __user *special, qid_t
return ret;
}

#if defined(CONFIG_X86_64) || defined(CONFIG_IA64)
#if defined(CONFIG_COMPAT_FOR_U64_ALIGNMENT)
/*
* This code works only for 32 bit quota tools over 64 bit OS (x86_64, ia64)
* and is necessary due to alignment problems.
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/asm-arm/arch-mxc/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#define __MXC_BOOT_UNCOMPRESS

#include <asm/hardware.h>
#include <asm/processor.h>

#define UART(x) (*(volatile unsigned long *)(serial_port + (x)))

Expand Down Expand Up @@ -62,7 +61,7 @@ static void putc(int ch)
}

while (!(UART(USR2) & USR2_TXFE))
cpu_relax();
barrier();

UART(TXR) = ch;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/soc/pxa/pxa2xx-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97)
gsr_bits = 0;
#ifdef CONFIG_PXA27x
/* PXA27x Developers Manual section 13.5.2.2.1 */
pxa_set_cken(1 << 31, 1);
pxa_set_cken(31, 1);
udelay(5);
pxa_set_cken(1 << 31, 0);
pxa_set_cken(31, 0);
GCR = GCR_COLD_RST;
udelay(50);
#else
Expand Down

0 comments on commit 8e55c91

Please sign in to comment.