From: Robert Richter Date: Tue, 7 Jul 2009 17:30:25 +0000 (+0200) Subject: x86/oprofile: Fix cast of counter value X-Git-Tag: v2.6.32-rc1~721^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8045a4c293d36c61656a20d581b11f7f0cd7acd5;p=pandora-kernel.git x86/oprofile: Fix cast of counter value When casting the counter value to a 64 bit value in 32 bit mode, sign extension may lead to broken counter values. This patch fixes this by casting to (u64) instead of (s64). Signed-off-by: Robert Richter --- Reading git-diff-tree failed