Re: [evlog-dev] FYI: Evlog-1.5.3 on Ia64
Hien Nguyen <[email protected]> Mon, 03 Nov 2003 10:00:44 -0800
| Newsgroups | gmane.linux.kernel.event-logging |
|---|---|
| Message-ID | <[email protected]> |
Hi Seo,
Thanks for the patch. This code is new in v1.5.3 and I obviously failed
to test this code on ia64 :-(
Regards, Hien.
O'Riordain, Seosamh wrote:
> Hi,
>
> While working on this code on ia64, I found that there are problems with
> unaligned accesses in several places in evlogd - tested on Red Hat Linux
> Advanced Workstation release 2.1AW (Derry).
> Find attached a tiny patch that fixes it.
>
> Regards,
> Seo
> <<evlogd_ia64_patch.txt>>
>
>
> ------------------------------------------------------------------------
>
> *** evlogd.c Sat Jun 14 00:46:58 2003
> --- ../../../../../evlog-1.5.3-1/user/cmd/evlogd/evlogd.c Mon Nov 3 11:56:51 2003
> ***************
> *** 194,199 ****
> --- 194,202 ----
> typedef struct event_buffer {
> char rec[MAX_RECSIZE];
> char in_use;
> + #ifdef __ia64__
> + char padding[7];
> + #endif
> } event_buffer_t;
>
> event_buffer_t *buf;
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/