for the second problem try the attached patch of a patch.

Antoine Martin wrote:
> On Fri, 2006-01-06 at 17:41 +0000, Antoine Martin wrote:
>   
>> Failed right at the end... (TT disabled)
>>
>>   LD      .tmp_vmlinux1
>> arch/um/sys-i386/built-in.o(.text+0x2f8e): In function `load_TLS':
>> : undefined reference to `indirect_set_thread_area'
>>     
> Tried again today, problems:
> * static build fails during linking stage
> * skas build fails as above (the indirect_set_thread_area is only
> defined if TT mode is on but it is used even if TT mode is off)
>
> Antoine
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>   
--- linux-2.6.15/arch/um/sys-i386/tls.c~	2006-01-11 20:04:35.528386774 -0500
+++ linux-2.6.15/arch/um/sys-i386/tls.c	2006-01-11 20:05:45.600027039 -0500
@@ -134,7 +134,7 @@ int load_TLS(int flags, struct task_stru
 		if (!(flags & O_FORCE) && curr->flushed)
 			continue;
 
-		ret = (flags & O_INDIRECT) ? indirect_set_thread_area(&curr->tls): do_set_thread_area(&curr->tls);
+		ret = CHOOSE_MODE_PROC( indirect_set_thread_area, do_set_thread_area, &curr->tls );
 		if (ret)
 			goto out;
 

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to