Changeset 3f5b4e0d in mainline


Ignore:
Timestamp:
2010-10-20T20:27:43Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fb0baeb
Parents:
2e7f392b
Message:

Disable sys_interrupts_enable() because it is not portable.

File:
1 edited

Legend:

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

    r2e7f392b 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.