mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 01:01:52 +00:00
Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
Pull ARM fixes from Russell King:
"Nothing too big here, just small fixes."
* 'fixes' of git://git.linaro.org/people/rmk/linux-arm:
ARM: fix more fallout from 9f97da78bf
(Disintegrate asm/system.h for ARM)
ARM: fix bios32.c build warning
ARM: 7337/1: ptrace: fix ptrace_read_user for !CONFIG_MMU platforms
ARM: fix missing bug.h include in arch/arm/kernel/insn.c
ARM: sa11x0: fix build errors from DMA engine API updates
This commit is contained in:
commit
20a2a81160
@ -299,7 +299,6 @@ static inline int pdev_bad_for_parity(struct pci_dev *dev)
|
||||
*/
|
||||
void pcibios_fixup_bus(struct pci_bus *bus)
|
||||
{
|
||||
struct pci_sys_data *root = bus->sysdata;
|
||||
struct pci_dev *dev;
|
||||
u16 features = PCI_COMMAND_SERR | PCI_COMMAND_PARITY | PCI_COMMAND_FAST_BACK;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#include <linux/bug.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/opcodes.h>
|
||||
|
||||
|
@ -256,7 +256,7 @@ static int ptrace_read_user(struct task_struct *tsk, unsigned long off,
|
||||
{
|
||||
unsigned long tmp;
|
||||
|
||||
if (off & 3 || off >= sizeof(struct user))
|
||||
if (off & 3)
|
||||
return -EIO;
|
||||
|
||||
tmp = 0;
|
||||
@ -268,6 +268,8 @@ static int ptrace_read_user(struct task_struct *tsk, unsigned long off,
|
||||
tmp = tsk->mm->end_code;
|
||||
else if (off < sizeof(struct pt_regs))
|
||||
tmp = get_user_reg(tsk, off >> 2);
|
||||
else if (off >= sizeof(struct user))
|
||||
return -EIO;
|
||||
|
||||
return put_user(tmp, ret);
|
||||
}
|
||||
|
@ -22,6 +22,8 @@
|
||||
#ifndef __MACH_BARRIERS_H
|
||||
#define __MACH_BARRIERS_H
|
||||
|
||||
#include <asm/outercache.h>
|
||||
|
||||
extern void omap_bus_sync(void);
|
||||
|
||||
#define rmb() dsb()
|
||||
|
@ -585,7 +585,7 @@ static dma_cookie_t sa11x0_dma_tx_submit(struct dma_async_tx_descriptor *tx)
|
||||
|
||||
static struct dma_async_tx_descriptor *sa11x0_dma_prep_slave_sg(
|
||||
struct dma_chan *chan, struct scatterlist *sg, unsigned int sglen,
|
||||
enum dma_transfer_direction dir, unsigned long flags)
|
||||
enum dma_transfer_direction dir, unsigned long flags, void *context)
|
||||
{
|
||||
struct sa11x0_dma_chan *c = to_sa11x0_dma_chan(chan);
|
||||
struct sa11x0_dma_desc *txd;
|
||||
|
@ -147,7 +147,7 @@ static void sa1100_irda_dma_start(struct sa1100_buf *buf,
|
||||
struct dma_async_tx_descriptor *desc;
|
||||
struct dma_chan *chan = buf->chan;
|
||||
|
||||
desc = chan->device->device_prep_slave_sg(chan, &buf->sg, 1, dir,
|
||||
desc = dmaengine_prep_slave_sg(chan, &buf->sg, 1, dir,
|
||||
DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
|
||||
if (desc) {
|
||||
desc->callback = cb;
|
||||
|
Loading…
Reference in New Issue
Block a user