[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m3vcz0ra1l.fsf@linux-m68k.org>
Date: Wed, 30 Mar 2011 15:51:34 +0200
From: Andreas Schwab <schwab@...ux-m68k.org>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: linux-kernel@...r.kernel.org, jaxboe@...ionio.com,
paulmck@...ux.vnet.ibm.com, oleg@...hat.com
Subject: Re: [PATCH] blk-throttle: don't call xchg on bool
Vivek Goyal <vgoyal@...hat.com> writes:
> Which arch creates the problem and what's the issue here if data type
> is smaller than 32bit?
Just look at the various implementations in arch/*/include/asm/system.h:
- arm: supports only one and 4 byte xchg
- avr32: supports only 4 byte xchg
- frv: supports only 4 byte xchg
- m32r: SMP supports only 4 byte xchg
- microblaze: supports only one and 4 byte xchg
etc.
> Is it a compile time warning?
Most implementations turn the use of xchg with a bad pointer into a link
error.
Andreas.
--
Andreas Schwab, schwab@...ux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists