commit | 3d8dcb3c76bb2930798f61675c33cce8945ab988 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue May 10 17:13:42 2011 +0200 |
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | Tue May 10 17:13:43 2011 +0200 |
tree | e66a26e9214bb4d9dc4d57bad238706b05662e1b | |
parent | 83ace2701b81be549cca7af33c5b0499cb2602d6 [diff] |
[S390] oprofile: fix min/max interval query checks oprofile_min_interval and oprofile_max_interval are unsigned, checking for negative values doesn't work. Change hwsampler_query_min_interval and hwsampler_query_max_interval to return an unsigned long and check for a zero value instead. Reported-by: Nicolas Kaiser <nikai@nikai.net> Acked-by: Robert Richter <robert.richter@amd.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>