* Sasha Levin <levinsasha928@xxxxxxxxx> wrote: > On Tue, 2011-05-17 at 12:50 +0200, Ingo Molnar wrote: > > ( There was some reason why perf could not use the kernel's min/max > > definitions, the details escape me. ) > > perf's min/max are surrounded by #ifdef - unlike the ones in the > kernel's <linux/kernel.h>. > Commit messages didn't mention why, so I'll use the defs as they are in > <linux/kernel.h>. I think they were surrounded because in some contexts we could get them from kernel headers. If so then getting rid of the duplicate and sorting out the header dependency is the right solution, so i think your approach is the right one :) Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html