fixes the bug : ntfs build failure in linux-2.6.git on no-mmu
PATCH 1/1 fixes the bug : ntfs build failure in linux-2.6.git on no-mmu
This patch fixes the bug : ntfs build failure in linux-2.6.git on no-mmu
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10164
Signed-off-by Jason Wu <[email protected]>
From c7e305005c893cd605be16b010abc42f0b28b210 Mon Sep 17 00:00:00 2001
From: Jason Wu <[email protected]>
Date: Thu, 13 Mar 2008 12:14:20 +0800
Subject: [PATCH] This patch fixes the bug of Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10164
--- include/linux/mm.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
include/linux/mm.h +6 -0
@@ -243,6 +243,12 @@ static inline int is_vmalloc_addr(const void *x) return addr >= VMALLOC_START && addr < VMALLOC_END; } +#else +/* Just return 1 all the time for no-MMU */ +static inline int is_vmalloc_addr (const void *x) +{ +return 1 ; +}#endif static inline struct page *compound_head (struct page *page)
Signature · 1 line
1.5.4