From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dell-paw-3.cambridge.redhat.com ([195.224.55.237] helo=passion.cambridge.redhat.com) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 17mbxO-0001hI-00 for ; Wed, 04 Sep 2002 16:20:38 +0100 From: David Woodhouse In-Reply-To: References: To: Jasmine Strong Cc: Allen Curtis , John Hall , "Linux MTD list (E-mail)" Subject: Re: Stable cvs version for 2.4 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Sep 2002 16:20:22 +0100 Message-ID: <6203.1031152822@redhat.com> Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: jasmine@hex.linuxgrrls.org said: > > How about we add 1 byte which contains up to 8 bit fields? > Adding a byte will destroy the alignment. you'd have to add a whole > word. Er, what alignment? Either the CPU or something else assumes and requires alignment, in which case we know that we can happily abuse the low-bit of the address. Or it doesn't, in which case we can add our single byte and use it with impunity. And yes, Allen's right that if we're going to add a single byte to the structure we should just put the colour information into that instead of using it to align the pointer so that we can abuse the low bit of the pointer :) -- dwmw2