diff for duplicates of <1337407908-7421-5-git-send-email-lethal@linux-sh.org> diff --git a/a/1.txt b/N1/1.txt index a456977..1e4d56b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -100,7 +100,7 @@ index 92e06442..5f0ca52 100644 return NULL; @@ -364,7 +372,7 @@ unsigned int irq_create_direct_mapping(struct irq_domain *domain) - BUG_ON(domain = NULL); + BUG_ON(domain == NULL); WARN_ON(domain->revmap_type != IRQ_DOMAIN_MAP_NOMAP); - virq = irq_alloc_desc_from(1, 0); @@ -110,7 +110,7 @@ index 92e06442..5f0ca52 100644 return 0; @@ -430,9 +438,9 @@ unsigned int irq_create_mapping(struct irq_domain *domain, hint = hwirq % nr_irqs; - if (hint = 0) + if (hint == 0) hint++; - virq = irq_alloc_desc_from(hint, 0); + virq = irq_alloc_desc_from(hint, irq_domain_nid(domain->of_node)); diff --git a/a/content_digest b/N1/content_digest index 2fc92ee..96cb2ff 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01337407908-7421-1-git-send-email-lethal@linux-sh.org\0" "From\0Paul Mundt <lethal@linux-sh.org>\0" "Subject\0[PATCH 4/8] irqdomain: Simple NUMA awareness.\0" - "Date\0Sat, 19 May 2012 06:11:44 +0000\0" + "Date\0Sat, 19 May 2012 15:11:44 +0900\0" "To\0Grant Likely <grant.likely@secretlab.ca>\0" "Cc\0linux-sh@vger.kernel.org" linux-kernel@vger.kernel.org @@ -110,7 +110,7 @@ " \t\treturn NULL;\n" " \n" "@@ -364,7 +372,7 @@ unsigned int irq_create_direct_mapping(struct irq_domain *domain)\n" - " \tBUG_ON(domain = NULL);\n" + " \tBUG_ON(domain == NULL);\n" " \tWARN_ON(domain->revmap_type != IRQ_DOMAIN_MAP_NOMAP);\n" " \n" "-\tvirq = irq_alloc_desc_from(1, 0);\n" @@ -120,7 +120,7 @@ " \t\treturn 0;\n" "@@ -430,9 +438,9 @@ unsigned int irq_create_mapping(struct irq_domain *domain,\n" " \thint = hwirq % nr_irqs;\n" - " \tif (hint = 0)\n" + " \tif (hint == 0)\n" " \t\thint++;\n" "-\tvirq = irq_alloc_desc_from(hint, 0);\n" "+\tvirq = irq_alloc_desc_from(hint, irq_domain_nid(domain->of_node));\n" @@ -133,4 +133,4 @@ "-- \n" 1.7.9.rc0.28.g0e1cf -a443e4b8dd985405f94e78bcb0c09480c5dfb66e1aabb5922e05142c3104788d +0b134491e8cb0124326ce89195a5afa9d639bcf248d40517f2545ead73b1d77d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.