Re: Typo in include/linux/mmzone.h
- From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
- Date: Sun, 8 Jan 2006 13:00:33 +0100 (MET)
>>
>> +static inline int populated_zone(struct zone *zone)
>> +{
>> + return (!!zone->present_pages);
>> +}
>> +
>
>No typo there at all. !! guarantees return of 1.
>
But we do not need the parentheses around it.
Jan Engelhardt
--
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: Typo in include/linux/mmzone.h
- From: kernel
- Re: Typo in include/linux/mmzone.h
- Prev by Date: [PATCH] [MMC] Support MMC version 4 cards.
- Next by Date: Re: Why is 2.4.32 four times faster than 2.6.14.6??
- Previous by thread: Re: Typo in include/linux/mmzone.h
- Next by thread: [no subject]
- Index(es):
Relevant Pages
|