| To: | Andrew Morton <akpm@xxxxxxxx> |
|---|---|
| Subject: | Re: [BUG] alignment problem in net/core/flow.c:flow_key_compare |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Thu, 18 Mar 2004 20:21:11 -0800 |
| Cc: | yoshfuji@xxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, mru@xxxxxx |
| In-reply-to: | <20040318185940.45108d6a.akpm@xxxxxxxx> |
| References: | <20040318162903.59192d13.akpm@xxxxxxxx> <20040319.115511.32395995.yoshfuji@xxxxxxxxxxxxxx> <20040318185940.45108d6a.akpm@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Thu, 18 Mar 2004 18:59:40 -0800 Andrew Morton <akpm@xxxxxxxx> wrote: > > -}; > > +} __attribute__((__aligned__(FLOWI_ALIGN_BYTES))); > > > > Why not simply > > > +} __attribute__((__aligned__(BITS_PER_LONG/8))); Works for me :-) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [BUG] alignment problem in net/core/flow.c:flow_key_compare, Andrew Morton |
|---|---|
| Next by Date: | Re: [PATCH 1/2] HFSC: Fix indentations, David S. Miller |
| Previous by Thread: | Re: [BUG] alignment problem in net/core/flow.c:flow_key_compare, Andrew Morton |
| Next by Thread: | Re: [BUG] alignment problem in net/core/flow.c:flow_key_compare, YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |