From: Jan Glauber Date: Sun, 30 Oct 2011 14:17:20 +0000 (+0100) Subject: [S390] qdio: prevent dsci access without adapter interrupts X-Git-Tag: v3.2-rc1~109^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f4026f8b2e4c5e26713d6c707592a33326a88c4;p=pandora-kernel.git [S390] qdio: prevent dsci access without adapter interrupts A kernel panic may occur during sending or receiving network packets on a machine without adapter interrupts since commit d36deae. The bug is triggered by writing to the shared indicator address which is set to 0 if the machine doesn't have adapter interrupts. Make the reading and setting of the shared indicator dependent on the adapter interrupt feature and while at it move the code to the file containing the adapter interrupt related code. Thanks to Jan Jaeger for tracking this down. Reported-by: Jan Jaeger Tested-by: Jan Jaeger Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed