From mboxrd@z Thu Jan 1 00:00:00 1970 From: davem@davemloft.net (David Miller) Date: Sat, 11 Jun 2011 16:25:40 -0700 (PDT) Subject: [PATCH v3 3/5] net: ep93xx_eth: allocate buffers using kmalloc() In-Reply-To: <511e0ae99e245fccb4692e7bb51944575f1b3287.1307816881.git.mika.westerberg@iki.fi> References: <511e0ae99e245fccb4692e7bb51944575f1b3287.1307816881.git.mika.westerberg@iki.fi> Message-ID: <20110611.162540.868268573517714775.davem@davemloft.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Mika Westerberg Date: Sat, 11 Jun 2011 21:39:56 +0300 > We can use simply kmalloc() to allocate the buffers. This also simplifies the > code and allows us to perform DMA sync operations more easily. > > Memory is allocated with only GFP_KERNEL since there are no DMA allocation > restrictions on this platform. > > Signed-off-by: Mika Westerberg > Acked-by: Russell King > Acked-by: H Hartley Sweeten > Tested-by: Petr Stetiar Applied.