| To: | Steve Lord <lord@xxxxxxx> |
|---|---|
| Subject: | Re: do_div breakage? |
| From: | Keith Owens <kaos@xxxxxxxxxxxxxxxxx> |
| Date: | Fri, 11 Aug 2000 08:59:42 +1000 |
| Cc: | Daniel Moore <dxm@xxxxxxxxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | Your message of "Thu, 10 Aug 2000 13:01:51 EST." <200008101801.NAA29619@xxxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
On Thu, 10 Aug 2000 13:01:51 -0500, Steve Lord <lord@xxxxxxx> wrote: >It looks like you must have undefined XFS_BIG_FILES somewhere, a real >fix for this issue involves making the do_div macro compile time >sensitive to the variables it is dealing with - which since you >cannot do sizeof at compile time means some runtime logic for a >compile time change Take a look at memcpy() and __constant_memcpy() in include/asm-i386/string.h. They do the equivalent of compile time selection to pick up the correct function, the compiler discards all the unwanted code automatically. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | TAKE - fsck install fix., Russell Cattelan |
|---|---|
| Next by Date: | random ppc observations ..., Thomas Graichen |
| Previous by Thread: | Re: do_div breakage?, Steve Lord |
| Next by Thread: | TAKE remove syssgi calls from fsr_xfs, Daniel Moore |
| Indexes: | [Date] [Thread] [Top] [All Lists] |