From: Markus Metzger Date: Fri, 24 Apr 2009 07:43:09 +0000 (+0200) Subject: x86, ds: fix buffer alignment in debug store selftest X-Git-Tag: v2.6.31-rc1~401^2~62^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782cc5ae6331d63b4febaa312c9d14493aafa9b8;p=pandora-kernel.git x86, ds: fix buffer alignment in debug store selftest The debug store selftest code uses a stack-allocated buffer, which is not necessarily correctly aligned. For tests using a buffer to hold a single entry, the buffer that is passed to ds_request must already be suitably aligned. Pass a suitably aligned portion of the bigger buffer. [ Impact: fix hw-branch-tracer self-test failure ] Signed-off-by: Markus Metzger Cc: markus.t.metzger@gmail.com LKML-Reference: <20090424094309.A30145@sedona.ch.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed