Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/falloc1.c

    r7e752b2 rcb01e1e  
    3333#include <mm/slab.h>
    3434#include <arch/mm/page.h>
    35 #include <typedefs.h>
     35#include <arch/types.h>
    3636#include <debug.h>
    3737#include <align.h>
     
    4141#define TEST_RUNS   2
    4242
    43 const char *test_falloc1(void) {
     43char *test_falloc1(void) {
    4444        uintptr_t *frames
    4545            = (uintptr_t *) malloc(MAX_FRAMES * sizeof(uintptr_t), 0);
     
    6464                               
    6565                                if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) != frames[allocated]) {
    66                                         TPRINTF("Block at address %p (size %dK) is not aligned\n",
    67                                             (void *) frames[allocated], (FRAME_SIZE << order) >> 10);
     66                                        TPRINTF("Block at address %p (size %dK) is not aligned\n", frames[allocated], (FRAME_SIZE << order) >> 10);
    6867                                        return "Test failed";
    6968                                }
Note: See TracChangeset for help on using the changeset viewer.