Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212224
b: refs/heads/master
c: baa0d23
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent c6deadd commit 6d63843
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: a05a900a51c7622ebd8ddb41f14f8bf9db599d8d
refs/heads/master: baa0d233afe765daa6dc01ff233aea8c5944f534
5 changes: 2 additions & 3 deletions trunk/kernel/irq/irqdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static DECLARE_BITMAP(allocated_irqs, NR_IRQS);

#ifdef CONFIG_SPARSE_IRQ

static RADIX_TREE(irq_desc_tree, GFP_ATOMIC);
static RADIX_TREE(irq_desc_tree, GFP_KERNEL);

static void irq_insert_desc(unsigned int irq, struct irq_desc *desc)
{
Expand Down Expand Up @@ -126,9 +126,8 @@ static inline void free_masks(struct irq_desc *desc) { }

static struct irq_desc *alloc_desc(int irq, int node)
{
/* Temporary hack until we can switch to GFP_KERNEL */
gfp_t gfp = gfp_allowed_mask == GFP_BOOT_MASK ? GFP_NOWAIT : GFP_ATOMIC;
struct irq_desc *desc;
gfp_t gfp = GFP_KERNEL;

desc = kzalloc_node(sizeof(*desc), gfp, node);
if (!desc)
Expand Down

0 comments on commit 6d63843

Please sign in to comment.