Re: [Patch] Fix UML broken (was Re: User Mode Linux still broken in 2.6.23.1)

WANG Cong
2007-11-16T15:28:38Z

On Fri, Nov 16, 2007 at 10:12:57AM -0500, Jeff Dike wrote:
>On Fri, Nov 16, 2007 at 11:08:32AM +0800, WANG Cong wrote:
>> Could you please try this patch? Can it fix the error?
>>
>> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
>>
>> ---
>>
>> diff --git a/Makefile b/Makefile
>> diff --git a/include/linux/swap.h b/include/linux/swap.h
>> index 4f3838a..2c3ce4c 100644
>> --- a/include/linux/swap.h
>> +++ b/include/linux/swap.h
>> @@ -6,6 +6,7 @@
>> #include <linux/mmzone.h>
>> #include <linux/list.h>
>> #include <linux/sched.h>
>> +#include <linux/pagemap.h>
>>
>> #include <asm/atomic.h>
>> #include <asm/page.h>
>
>If you look further down the file, you see a comment to the effect that this
>will break sparc.
>

Sorry, I didn't know that. ;(