Re: [PATCH] Altix system controller event handling

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-03-11 04:02:33
Greg Howard <ghoward@sgi.com> writes:

> On Thu, 10 Mar 2005, Andreas Schwab wrote:
>
>>
>> Or even better: replace scdrv_buffer_to_int by be32_to_cpup.
>
> Sounds like a good idea.  Will be32_to_cpup work if the
> argument isn't word-aligned?

Probably not, ie. it will result in an unaligned access.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
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-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 10 15:50:34 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:36 EST