flat_mem: bring into line with prototypes
authorAlan Cox <alan@linux.intel.com>
Sat, 13 Feb 2016 20:08:54 +0000 (20:08 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 13 Feb 2016 20:08:54 +0000 (20:08 +0000)
Kernel/flat_mem.c

index 0b1f97c..afe55e4 100644 (file)
@@ -519,9 +519,9 @@ void *pagemap_base(void)
        return mmu_context[udata.u_page].base;
 }
 
-unsigned long pagemap_mem_used(void)
+usize_t pagemap_mem_used(void)
 {
-       return freemem;
+       return freemem >> 10;
 }
 
 #define size (uint32_t)udata.u_argn