Mel Gorman writes: > + res->end = -(-res->end & ~(unsigned long)mask); \ > + res->end += mask; \ I think this is equivalent to res->end = (res->end + mask) | mask; and I have to say the latter seems more understandable to me (and doesn't need a cast) ... Regards, Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: [email protected] (Mel Gorman)
- Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: Andrew Morton <[email protected]>
- Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: [email protected] (Mel Gorman)
- Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: Mel Gorman <[email protected]>
- Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: Segher Boessenkool <[email protected]>
- Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- From: [email protected] (Mel Gorman)
- [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- Prev by Date: Re: 2.6.17-rc6-rt1
- Next by Date: Re: Using netconsole for debugging suspend/resume
- Previous by thread: Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- Next by thread: Re: [PATCH] Compile failure fix for ppc on 2.6.17-rc4-mm3 (2nd attempt)
- Index(es):