aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2016-03-01 11:58:06 +0000
committerMartin Schwidefsky <[email protected]>2016-03-02 12:43:48 +0000
commitce0c12b633846a47e103842149a5bac2e5d261ec (patch)
treeb8e305b904aff2c4e798ae9ec0372506df27051e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff)
downloadkernel-ce0c12b633846a47e103842149a5bac2e5d261ec.tar.gz
kernel-ce0c12b633846a47e103842149a5bac2e5d261ec.zip
s390/dasd: fix diag 0x250 inline assembly
git commit 1ec2772e0c3c ("s390/diag: add a statistic for diagnose calls") added function calls to gather diagnose statistics. In case of the dasd diag driver the function call was added between a register asm statement which initialized register r2 and the inline assembly itself. The function call clobbers the contents of register r2 and therefore the diag 0x250 call behaves in a more or less random way. Fix this by extracting the function call into a separate function like we do everywhere else. Fixes: 1ec2772e0c3c ("s390/diag: add a statistic for diagnose calls") Cc: <[email protected]> # 4.4+ Reported-and-tested-by: Stefan Haberland <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions