> +#define time_after64(a,b) \ > + (typecheck(__u64, a) && \ > + typecheck(__u64, b) && \ Did you double check the typecheck DTRT when someone passes in both plain long and long long on 64bit? -Andi - 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:
- Re: [PATCH 2/4] jiffies: Add 64bit jiffies compares (needed when long < 64bit).
- From: "Dmitriy Zavin" <[email protected]>
- Re: [PATCH 2/4] jiffies: Add 64bit jiffies compares (needed when long < 64bit).
- References:
- therm_throt: Refactor and improve thermal throttle processing
- From: Dmitriy Zavin <[email protected]>
- [PATCH 1/4] x86_64/i386 thermal mce: Refactor thermal throttle reporting.
- From: Dmitriy Zavin <[email protected]>
- [PATCH 2/4] jiffies: Add 64bit jiffies compares (needed when long < 64bit).
- From: Dmitriy Zavin <[email protected]>
- therm_throt: Refactor and improve thermal throttle processing
- Prev by Date: Re: [PATCH] sched.c: Be a bit more conservative in SMP
- Next by Date: Re: [PATCH 4/4] therm_throt: Add a cumulative event counter and export it to /sys.
- Previous by thread: Re: [PATCH 3/4] therm_throt: Make the jiffies compares use the 64bit safe macros.
- Next by thread: Re: [PATCH 2/4] jiffies: Add 64bit jiffies compares (needed when long < 64bit).
- Index(es):