Commit 342ba15e authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents df9a20b3 67948c82
...@@ -259,6 +259,7 @@ config ACPI_CUSTOM_DSDT_FILE ...@@ -259,6 +259,7 @@ config ACPI_CUSTOM_DSDT_FILE
config ACPI_BLACKLIST_YEAR config ACPI_BLACKLIST_YEAR
int "Disable ACPI for systems before Jan 1st this year" int "Disable ACPI for systems before Jan 1st this year"
depends on ACPI_INTERPRETER
default 0 default 0
help help
enter a 4-digit year, eg. 2001 to disable ACPI by default enter a 4-digit year, eg. 2001 to disable ACPI by default
......
...@@ -443,6 +443,9 @@ unsigned int ipmi_addr_length(int addr_type) ...@@ -443,6 +443,9 @@ unsigned int ipmi_addr_length(int addr_type)
return sizeof(struct ipmi_ipmb_addr); return sizeof(struct ipmi_ipmb_addr);
} }
if (addr_type == IPMI_LAN_ADDR_TYPE)
return sizeof(struct ipmi_lan_addr);
return 0; return 0;
} }
......
...@@ -78,18 +78,19 @@ static __inline__ isdn_net_local * isdn_net_get_locked_lp(isdn_net_dev *nd) ...@@ -78,18 +78,19 @@ static __inline__ isdn_net_local * isdn_net_get_locked_lp(isdn_net_dev *nd)
spin_lock_irqsave(&nd->queue_lock, flags); spin_lock_irqsave(&nd->queue_lock, flags);
lp = nd->queue; /* get lp on top of queue */ lp = nd->queue; /* get lp on top of queue */
spin_lock_bh(&nd->queue->xmit_lock); spin_lock(&nd->queue->xmit_lock);
while (isdn_net_lp_busy(nd->queue)) { while (isdn_net_lp_busy(nd->queue)) {
spin_unlock_bh(&nd->queue->xmit_lock); spin_unlock(&nd->queue->xmit_lock);
nd->queue = nd->queue->next; nd->queue = nd->queue->next;
if (nd->queue == lp) { /* not found -- should never happen */ if (nd->queue == lp) { /* not found -- should never happen */
lp = NULL; lp = NULL;
goto errout; goto errout;
} }
spin_lock_bh(&nd->queue->xmit_lock); spin_lock(&nd->queue->xmit_lock);
} }
lp = nd->queue; lp = nd->queue;
nd->queue = nd->queue->next; nd->queue = nd->queue->next;
local_bh_disable();
errout: errout:
spin_unlock_irqrestore(&nd->queue_lock, flags); spin_unlock_irqrestore(&nd->queue_lock, flags);
return lp; return lp;
......
#ifndef _PPC64_IO_H #ifndef _PPC64_IO_H
#define _PPC64_IO_H #define _PPC64_IO_H
/* /*
......
...@@ -2078,6 +2078,8 @@ __generic_file_aio_write_nolock(struct kiocb *iocb, const struct iovec *iov, ...@@ -2078,6 +2078,8 @@ __generic_file_aio_write_nolock(struct kiocb *iocb, const struct iovec *iov,
count = ocount; count = ocount;
pos = *ppos; pos = *ppos;
vfs_check_frozen(inode->i_sb, SB_FREEZE_WRITE);
/* We can write back this queue in page reclaim */ /* We can write back this queue in page reclaim */
current->backing_dev_info = mapping->backing_dev_info; current->backing_dev_info = mapping->backing_dev_info;
written = 0; written = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment