* Re: [POWERPC] flags as passed to spin_*_irqsave() should be unsigned long.
2007-09-05 0:23 [POWERPC] flags as passed to spin_*_irqsave() should be unsigned long Tony Breeds
@ 2007-09-04 23:39 ` Olof Johansson
0 siblings, 0 replies; 2+ messages in thread
From: Olof Johansson @ 2007-09-04 23:39 UTC (permalink / raw)
To: Tony Breeds; +Cc: LinuxPPC-dev
On Wed, Sep 05, 2007 at 10:23:14AM +1000, Tony Breeds wrote:
> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
>
> ---
> Found trying to build a -rt kernel, which has a BUILD_BUG_ON(), in this
> caswe.
Thanks, applied. I'll batch it up with the next set of updates to jgarzik.
-Olof
^ permalink raw reply [flat|nested] 2+ messages in thread
* [POWERPC] flags as passed to spin_*_irqsave() should be unsigned long.
@ 2007-09-05 0:23 Tony Breeds
2007-09-04 23:39 ` Olof Johansson
0 siblings, 1 reply; 2+ messages in thread
From: Tony Breeds @ 2007-09-05 0:23 UTC (permalink / raw)
To: LinuxPPC-dev, Olof Johansson
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
---
Found trying to build a -rt kernel, which has a BUILD_BUG_ON(), in this
caswe.
drivers/net/pasemi_mac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: working/drivers/net/pasemi_mac.c
===================================================================
--- working.orig/drivers/net/pasemi_mac.c 2007-09-04 16:46:40.000000000 +1000
+++ working/drivers/net/pasemi_mac.c 2007-09-04 16:47:01.000000000 +1000
@@ -524,7 +524,7 @@ static int pasemi_mac_clean_tx(struct pa
struct pasemi_mac_buffer *info;
struct pas_dma_xct_descr *dp;
int start, count;
- int flags;
+ unsigned long flags;
spin_lock_irqsave(&mac->tx->lock, flags);
@@ -950,7 +950,7 @@ static int pasemi_mac_start_tx(struct sk
struct pas_dma_xct_descr *dp;
u64 dflags;
dma_addr_t map;
- int flags;
+ unsigned long flags;
dflags = XCT_MACTX_O | XCT_MACTX_ST | XCT_MACTX_SS | XCT_MACTX_CRC_PAD;
Yours Tony
linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-05 0:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 0:23 [POWERPC] flags as passed to spin_*_irqsave() should be unsigned long Tony Breeds
2007-09-04 23:39 ` Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox