]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arcmsr: fix IRQs disabled warning spew
authorMike Pagano <mpagano@gentoo.org>
Thu, 28 Feb 2008 00:35:01 +0000 (19:35 -0500)
committerChris Wright <chrisw@sous-sol.org>
Mon, 24 Mar 2008 18:47:31 +0000 (11:47 -0700)
commitd5940b2fc01d028b1cffb271294667f81e6a819a
treed205bc0f9dbb17a43d281aa306751fbefffe61aa
parent535d75274d992be482951967af0ec4d99c99fadc
arcmsr: fix IRQs disabled warning spew

As of 2.6.24, running the archttp passthrough daemon with the arcmsr
driver produces an endless spew of dma_free_coherent warnings:

WARNING: at arch/x86/kernel/pci-dma_64.c:169 dma_free_coherent()

It turns out that coherent memory is not needed, so commit 76d78300 by
Nick Cheng <nick.cheng@areca.com.tw> switched it to kmalloc (as well as
making a lot of other changes which have not been included here).

James Bottomley pointed out that the new kmalloc usage was also wrong,
I corrected this in commit 69e562c2.

This patch combines both of the above for the purpose of fixing 2.6.24.
details in http://bugs.gentoo.org/208493.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Cc: Nick Cheng <nick.cheng@areca.com.tw>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/arcmsr/arcmsr_hba.c