diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-04-16 14:11:14 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-04-17 14:07:35 +0200 |
commit | a2ab833360abbed3321fd694b69a5a32ee15785f (patch) | |
tree | bdf3d75949f7510d4bacfcbddcbe640c9e4cdca3 /arch/s390/include | |
parent | ea793788f8ec868e655920f4726b2bd6a881e5ae (diff) | |
download | blackbird-op-linux-a2ab833360abbed3321fd694b69a5a32ee15785f.tar.gz blackbird-op-linux-a2ab833360abbed3321fd694b69a5a32ee15785f.zip |
s390/pci: debug device states
Use the debugfs to keep track of a pci function's status changes.
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/pci_debug.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/s390/include/asm/pci_debug.h b/arch/s390/include/asm/pci_debug.h index 6bbec4265b6e..1ca5d1047c71 100644 --- a/arch/s390/include/asm/pci_debug.h +++ b/arch/s390/include/asm/pci_debug.h @@ -7,14 +7,11 @@ extern debug_info_t *pci_debug_msg_id; extern debug_info_t *pci_debug_err_id; #ifdef CONFIG_PCI_DEBUG -#define zpci_dbg(fmt, args...) \ - do { \ - if (pci_debug_msg_id->level >= 2) \ - debug_sprintf_event(pci_debug_msg_id, 2, fmt , ## args);\ - } while (0) +#define zpci_dbg(imp, fmt, args...) \ + debug_sprintf_event(pci_debug_msg_id, imp, fmt, ##args) #else /* !CONFIG_PCI_DEBUG */ -#define zpci_dbg(fmt, args...) do { } while (0) +#define zpci_dbg(imp, fmt, args...) do { } while (0) #endif #define zpci_err(text...) \ |