Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272073
b: refs/heads/master
c: 65b4e40
h: refs/heads/master
i:
  272071: 8a3ef2a
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Oct 30, 2011
1 parent 4c0be87 commit e601a6e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dad572e370138539ea45be9b53d168568e562565
refs/heads/master: 65b4e403ac926f5196c2f28c4ec783d32dc322f0
1 change: 1 addition & 0 deletions trunk/arch/s390/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ enum interruption_class {
IOINT_CLW,
IOINT_CTC,
IOINT_APB,
IOINT_CSC,
NMI_NMI,
NR_IRQS,
};
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ static const struct irq_class intrclass_names[] = {
{.name = "CLW", .desc = "[I/O] CLAW" },
{.name = "CTC", .desc = "[I/O] CTC" },
{.name = "APB", .desc = "[I/O] AP Bus" },
{.name = "CSC", .desc = "[I/O] CHSC Subchannel" },
{.name = "NMI", .desc = "[NMI] Machine Check" },
};

Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/s390/cio/chsc_sch.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Driver for s390 chsc subchannels
*
* Copyright IBM Corp. 2008, 2009
* Copyright IBM Corp. 2008, 2011
*
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
*
Expand All @@ -12,6 +12,7 @@
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/miscdevice.h>
#include <linux/kernel_stat.h>

#include <asm/compat.h>
#include <asm/cio.h>
Expand Down Expand Up @@ -56,6 +57,8 @@ static void chsc_subchannel_irq(struct subchannel *sch)

CHSC_LOG(4, "irb");
CHSC_LOG_HEX(4, irb, sizeof(*irb));
kstat_cpu(smp_processor_id()).irqs[IOINT_CSC]++;

/* Copy irb to provided request and set done. */
if (!request) {
CHSC_MSG(0, "Interrupt on sch 0.%x.%04x with no request\n",
Expand Down

0 comments on commit e601a6e

Please sign in to comment.