Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3f5b4e0d in mainline


Ignore:
Timestamp:
2010-10-20T20:27:43Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
fb0baeb
Parents:
2e7f392
Message:

Disable sys_interrupts_enable() because it is not portable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ddi/ddi.c

    r2e7f392 r3f5b4e0d  
    266266 */
    267267unative_t sys_interrupt_enable(int irq, int enable)
    268 {       
     268{
     269/* FIXME: this needs to be generic code, or better not be in kernel at all. */
     270#if 0
    269271        cap_t task_cap = cap_get(TASK);
    270272        if (!(task_cap & CAP_IRQ_REG))
     
    282284        }
    283285       
    284         return 0;       
     286#endif
     287        return 0;
    285288}
    286289
Note: See TracChangeset for help on using the changeset viewer.