get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/693/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 693,
    "url": "http://patchwork.ozlabs.org/api/patches/693/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20080919.234827.23142568.davem@davemloft.net/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20080919.234827.23142568.davem@davemloft.net>",
    "list_archive_url": null,
    "date": "2008-09-20T06:48:27",
    "name": "[1/2] : softirq: Define and use NR_SOFTIRQ",
    "commit_ref": null,
    "pull_url": null,
    "state": "rfc",
    "archived": true,
    "hash": "64a0b9398e9911801228d5d40def7b53506f4e42",
    "submitter": {
        "id": 15,
        "url": "http://patchwork.ozlabs.org/api/people/15/?format=api",
        "name": "David Miller",
        "email": "davem@davemloft.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20080919.234827.23142568.davem@davemloft.net/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/693/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/693/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id 97393DDEE3\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 20 Sep 2008 16:48:58 +1000 (EST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751371AbYITGsn (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSat, 20 Sep 2008 02:48:43 -0400",
            "(majordomo@vger.kernel.org) by vger.kernel.org id S1751336AbYITGsn\n\t(ORCPT <rfc822; netdev-outgoing>); Sat, 20 Sep 2008 02:48:43 -0400",
            "from 74-93-104-97-Washington.hfc.comcastbusiness.net\n\t([74.93.104.97]:35479\n\t\"EHLO sunset.davemloft.net\" rhost-flags-OK-FAIL-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751065AbYITGsj (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Sat, 20 Sep 2008 02:48:39 -0400",
            "from localhost (localhost [127.0.0.1])\n\tby sunset.davemloft.net (Postfix) with ESMTP id 7C36CC8C183;\n\tFri, 19 Sep 2008 23:48:27 -0700 (PDT)"
        ],
        "Date": "Fri, 19 Sep 2008 23:48:27 -0700 (PDT)",
        "Message-Id": "<20080919.234827.23142568.davem@davemloft.net>",
        "To": "linux-kernel@vger.kernel.org",
        "CC": "netdev@vger.kernel.org, jens.axboe@oracle.com,\n\tsteffen.klassert@secunet.com",
        "Subject": "[PATCH 1/2]: softirq: Define and use NR_SOFTIRQ",
        "From": "David Miller <davem@davemloft.net>",
        "X-Mailer": "Mew version 6.1 on Emacs 22.1 / Mule 5.0 (SAKAKI)",
        "Mime-Version": "1.0",
        "Content-Type": "Text/Plain; charset=us-ascii",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "softirq: Define and use NR_SOFTIRQ\n\nThe softirq tables use a magic value \"32\" for sizing.\n\nDefine a proper NR_SOFTIRQ value instead.\n\nSigned-off-by: David S. Miller <davem@davemloft.net>\n---\n include/linux/interrupt.h |    1 +\n kernel/softirq.c          |    2 +-\n 2 files changed, 2 insertions(+), 1 deletions(-)",
    "diff": "diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h\nindex 58ff4e7..fdd7b90 100644\n--- a/include/linux/interrupt.h\n+++ b/include/linux/interrupt.h\n@@ -252,6 +252,7 @@ enum\n \tHRTIMER_SOFTIRQ,\n #endif\n \tRCU_SOFTIRQ, \t/* Preferable RCU should always be the last softirq */\n+\tNR_SOFTIRQ\n };\n \n /* softirq mask and active fields moved to irq_cpustat_t in\ndiff --git a/kernel/softirq.c b/kernel/softirq.c\nindex c506f26..27642a2 100644\n--- a/kernel/softirq.c\n+++ b/kernel/softirq.c\n@@ -46,7 +46,7 @@ irq_cpustat_t irq_stat[NR_CPUS] ____cacheline_aligned;\n EXPORT_SYMBOL(irq_stat);\n #endif\n \n-static struct softirq_action softirq_vec[32] __cacheline_aligned_in_smp;\n+static struct softirq_action softirq_vec[NR_SOFTIRQ] __cacheline_aligned_in_smp;\n \n static DEFINE_PER_CPU(struct task_struct *, ksoftirqd);\n \n",
    "prefixes": [
        "1/2"
    ]
}