s390/cache: fix data/instruction cache output
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 18 Oct 2012 11:13:41 +0000 (13:13 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 18 Oct 2012 15:50:11 +0000 (17:50 +0200)
commitd18f99c28bab882f42949363658da5cf1d2f624f
tree00eced6af35a5d0f3bde159d4689b32fdcb739f7
parentc985cb37f1b39c2c8035af741a2a0b79f1fbaca7
s390/cache: fix data/instruction cache output

The sysfs and procfs output of the instruction and data caches were
wrong: the output of the data cache provided that instruction cache
values and vice versa.
Fix this by using the correct type indication when issueing the
ecag instruction.

Reported-by: Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/cache.c