summaryrefslogtreecommitdiffstats
path: root/arch/s390/pci
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-11-11 07:30:49 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-11-11 16:37:33 +0100
commit126b30c3cb476ce68489a657a7defb8e73775e6f (patch)
tree22f35155d6fcb2440fb165e75adf1a36be9d11b5 /arch/s390/pci
parent847e0700121bdd7109f21a74992f0bdc3712b872 (diff)
downloadtalos-obmc-linux-126b30c3cb476ce68489a657a7defb8e73775e6f.tar.gz
talos-obmc-linux-126b30c3cb476ce68489a657a7defb8e73775e6f.zip
s390/atomic: refactor atomic primitives
Rework atomic.h to make the low level functions avaible for use in other headers without using atomic_t, e.g. in bitops.h. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci')
-rw-r--r--arch/s390/pci/pci_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/pci/pci_debug.c b/arch/s390/pci/pci_debug.c
index 38993b156924..c2f786f0ea06 100644
--- a/arch/s390/pci/pci_debug.c
+++ b/arch/s390/pci/pci_debug.c
@@ -69,7 +69,7 @@ static void pci_sw_counter_show(struct seq_file *m)
int i;
for (i = 0; i < ARRAY_SIZE(pci_sw_names); i++, counter++)
- seq_printf(m, "%26s:\t%llu\n", pci_sw_names[i],
+ seq_printf(m, "%26s:\t%lu\n", pci_sw_names[i],
atomic64_read(counter));
}
OpenPOWER on IntegriCloud