Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15064
b: refs/heads/master
c: 94d40b6
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Dec 12, 2005
1 parent 8d50f46 commit 26018ac
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 16 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: 1df2ab48f995b1599740a3f430df77fe24cb8ce9
refs/heads/master: 94d40b699f0b9fb1b1da3b6abcd31d37c9aa2c22
2 changes: 2 additions & 0 deletions trunk/Documentation/arm/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ empeg
- Empeg documentation
mem_alignment
- alignment abort handler documentation
memory.txt
- description of the virtual memory layout
nwfpe
- NWFPE floating point emulator documentation
9 changes: 9 additions & 0 deletions trunk/arch/arm/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,15 @@ get_branch_address(struct task_struct *child, unsigned long pc, unsigned long in
*/
long aluop1, aluop2, ccbit;

if ((insn & 0x0fffffd0) == 0x012fff10) {
/*
* bx or blx
*/
alt = get_user_reg(child, insn & 15);
break;
}


if ((insn & 0xf000) != 0xf000)
break;

Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/char/watchdog/mpcore_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ static ssize_t mpcore_wdt_write(struct file *file, const char *data, size_t len,
{
struct mpcore_wdt *wdt = file->private_data;

/* Can't seek (pwrite) on this device */
if (ppos != &file->f_pos)
return -ESPIPE;

/*
* Refresh the timer.
*/
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/mmc/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,9 @@ static void mmc_read_scrs(struct mmc_host *host)

sg_init_one(&sg, (u8*)card->raw_scr, 8);

err = mmc_wait_for_req(host, &mrq);
if (err != MMC_ERR_NONE) {
mmc_wait_for_req(host, &mrq);

if (cmd.error != MMC_ERR_NONE || data.error != MMC_ERR_NONE) {
mmc_card_set_dead(card);
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/8250_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ pci_timedia_setup(struct serial_private *priv, struct pciserial_board *board,
break;
case 3:
offset = board->uart_offset;
bar = 1;
/* FALLTHROUGH */
case 4: /* BAR 2 */
case 5: /* BAR 3 */
case 6: /* BAR 4 */
Expand Down
5 changes: 0 additions & 5 deletions trunk/include/asm-arm/arch-pxa/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,3 @@

#define fixup_irq(x) (x)

/*
* This prototype is required for cascading of multiplexed interrupts.
* Since it doesn't exist elsewhere, we'll put it here for now.
*/
extern void do_IRQ(int irq, struct pt_regs *regs);
6 changes: 3 additions & 3 deletions trunk/include/asm-arm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ extern void __raw_writesb(void __iomem *addr, const void *data, int bytelen);
extern void __raw_writesw(void __iomem *addr, const void *data, int wordlen);
extern void __raw_writesl(void __iomem *addr, const void *data, int longlen);

extern void __raw_readsb(void __iomem *addr, void *data, int bytelen);
extern void __raw_readsw(void __iomem *addr, void *data, int wordlen);
extern void __raw_readsl(void __iomem *addr, void *data, int longlen);
extern void __raw_readsb(const void __iomem *addr, void *data, int bytelen);
extern void __raw_readsw(const void __iomem *addr, void *data, int wordlen);
extern void __raw_readsl(const void __iomem *addr, void *data, int longlen);

#define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile unsigned char __force *)(a) = (v))
#define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (v))
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-arm/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ static inline void *phys_to_virt(unsigned long x)
*/
#define __pa(x) __virt_to_phys((unsigned long)(x))
#define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)

/*
* Virtual <-> DMA view memory address translations
Expand Down

0 comments on commit 26018ac

Please sign in to comment.