irqdesc.c (5a29ef22098874db79af7bf92a247a0f503bfa6e) irqdesc.c (087cdfb662ae50e3826e7cd2e54b6519d07b60f0)
1/*
2 * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
3 * Copyright (C) 2005-2006, Thomas Gleixner, Russell King
4 *
5 * This file contains the interrupt descriptor management code
6 *
7 * Detailed information is available in Documentation/DocBook/genericirq
8 *

--- 380 unchanged lines hidden (view full) ---

389
390 kobject_put(&desc->kobj);
391}
392
393static void free_desc(unsigned int irq)
394{
395 struct irq_desc *desc = irq_to_desc(irq);
396
1/*
2 * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
3 * Copyright (C) 2005-2006, Thomas Gleixner, Russell King
4 *
5 * This file contains the interrupt descriptor management code
6 *
7 * Detailed information is available in Documentation/DocBook/genericirq
8 *

--- 380 unchanged lines hidden (view full) ---

389
390 kobject_put(&desc->kobj);
391}
392
393static void free_desc(unsigned int irq)
394{
395 struct irq_desc *desc = irq_to_desc(irq);
396
397 irq_remove_debugfs_entry(desc);
397 unregister_irq_proc(irq, desc);
398
399 /*
400 * sparse_irq_lock protects also show_interrupts() and
401 * kstat_irq_usr(). Once we deleted the descriptor from the
402 * sparse tree we can free it. Access in proc will fail to
403 * lookup the descriptor.
404 *

--- 517 unchanged lines hidden ---
398 unregister_irq_proc(irq, desc);
399
400 /*
401 * sparse_irq_lock protects also show_interrupts() and
402 * kstat_irq_usr(). Once we deleted the descriptor from the
403 * sparse tree we can free it. Access in proc will fail to
404 * lookup the descriptor.
405 *

--- 517 unchanged lines hidden ---