Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/utils/malloc32.h

    rf8dfb40 rd4d74dc  
    3737#include <assert.h>
    3838#include <malloc.h>
     39#include <unistd.h>
    3940#include <errno.h>
    4041#include <mem.h>
     
    5657        uintptr_t result;
    5758        int ret = as_get_physical_mapping(addr, &result);
    58 
     59       
    5960        if (ret != EOK)
    6061                return 0;
    61         return (result | ((uintptr_t)addr & 0xfff));
     62       
     63        return result;
    6264}
    6365/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.