mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] UML TT-mode-only compile fix.
@ 2005-10-09  5:06 Junichi Uekawa
  2005-10-09 19:26 ` Blaisorblade
  2005-10-09 20:00 ` [uml-devel] " Jeff Dike
  0 siblings, 2 replies; 5+ messages in thread
From: Junichi Uekawa @ 2005-10-09  5:06 UTC (permalink / raw)
  To: user-mode-linux-devel, linux-kernel, blaisorblade

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

Hi,

In today's linus's git tree, uml doesn't compile when it's configured for 
only TT-mode.

This regression caused by:
	8923648c125421b0fcb240cde607e2748d099ab8
	[PATCH] uml: clear SKAS0/3 flags when running in TT mode

Signed-off-by: Junichi Uekawa <dancer@debian.org>


diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -334,8 +334,10 @@ int linux_main(int argc, char **argv)
 		add_arg(DEFAULT_COMMAND_LINE);
 
 	os_early_checks();
+#ifdef CONFIG_MODE_SKAS
 	if (force_tt)
 		clear_can_do_skas();
+#endif
 	mode_tt = force_tt ? 1 : !can_do_skas();
 #ifndef CONFIG_MODE_TT
 	if (mode_tt) {



[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] UML TT-mode-only compile fix.
  2005-10-09  5:06 [PATCH] UML TT-mode-only compile fix Junichi Uekawa
@ 2005-10-09 19:26 ` Blaisorblade
  2005-10-09 22:47   ` [uml-devel] " Jeff Dike
  2005-10-09 20:00 ` [uml-devel] " Jeff Dike
  1 sibling, 1 reply; 5+ messages in thread
From: Blaisorblade @ 2005-10-09 19:26 UTC (permalink / raw)
  To: Junichi Uekawa; +Cc: user-mode-linux-devel, linux-kernel

On Sunday 09 October 2005 07:06, Junichi Uekawa wrote:
> Hi,
>
> In today's linus's git tree, uml doesn't compile when it's configured for
> only TT-mode.

> This regression caused by:
> 	8923648c125421b0fcb240cde607e2748d099ab8
> 	[PATCH] uml: clear SKAS0/3 flags when running in TT mode
>
> Signed-off-by: Junichi Uekawa <dancer@debian.org>
Thanks for the report and the patch, however I want to fix things a bit 
differently... the thing _should_ compile anyway.

The macro is declared anyway and the var should exist anyway.
The problem is just that they aren't declared, I think. Will fix.

> diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
> --- a/arch/um/kernel/um_arch.c
> +++ b/arch/um/kernel/um_arch.c
> @@ -334,8 +334,10 @@ int linux_main(int argc, char **argv)
>  		add_arg(DEFAULT_COMMAND_LINE);
>
>  	os_early_checks();
> +#ifdef CONFIG_MODE_SKAS
>  	if (force_tt)
>  		clear_can_do_skas();
> +#endif
>  	mode_tt = force_tt ? 1 : !can_do_skas();
>  #ifndef CONFIG_MODE_TT
>  	if (mode_tt) {

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] [PATCH] UML TT-mode-only compile fix.
  2005-10-09  5:06 [PATCH] UML TT-mode-only compile fix Junichi Uekawa
  2005-10-09 19:26 ` Blaisorblade
@ 2005-10-09 20:00 ` Jeff Dike
  1 sibling, 0 replies; 5+ messages in thread
From: Jeff Dike @ 2005-10-09 20:00 UTC (permalink / raw)
  To: Junichi Uekawa; +Cc: user-mode-linux-devel, linux-kernel, blaisorblade

On Sun, Oct 09, 2005 at 02:06:42PM +0900, Junichi Uekawa wrote:
> Hi,
> 
> In today's linus's git tree, uml doesn't compile when it's configured for 
> only TT-mode.
> 
> This regression caused by:
> 	8923648c125421b0fcb240cde607e2748d099ab8
> 	[PATCH] uml: clear SKAS0/3 flags when running in TT mode
> 
> Signed-off-by: Junichi Uekawa <dancer@debian.org>

Can you send this to Linus, with an Acked-by: me?

				Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] Re: [PATCH] UML TT-mode-only compile fix.
  2005-10-09 19:26 ` Blaisorblade
@ 2005-10-09 22:47   ` Jeff Dike
  2005-10-10  1:00     ` Junichi Uekawa
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Dike @ 2005-10-09 22:47 UTC (permalink / raw)
  To: Blaisorblade; +Cc: Junichi Uekawa, user-mode-linux-devel, linux-kernel

On Sun, Oct 09, 2005 at 09:26:04PM +0200, Blaisorblade wrote:
> Thanks for the report and the patch, however I want to fix things a bit 
> differently... the thing _should_ compile anyway.
> 
> The macro is declared anyway and the var should exist anyway.
> The problem is just that they aren't declared, I think. Will fix.

Junichi, ignore what I said earlier.  If Blaisorblade wants to fix it 
differently, then we'll use his patch instead.

				Jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [uml-devel] Re: [PATCH] UML TT-mode-only compile fix.
  2005-10-09 22:47   ` [uml-devel] " Jeff Dike
@ 2005-10-10  1:00     ` Junichi Uekawa
  0 siblings, 0 replies; 5+ messages in thread
From: Junichi Uekawa @ 2005-10-10  1:00 UTC (permalink / raw)
  To: Jeff Dike
  Cc: Blaisorblade, Junichi Uekawa, user-mode-linux-devel, linux-kernel

Hi,


> On Sun, Oct 09, 2005 at 09:26:04PM +0200, Blaisorblade wrote:
> > Thanks for the report and the patch, however I want to fix things a bit 
> > differently... the thing _should_ compile anyway.
> > 
> > The macro is declared anyway and the var should exist anyway.
> > The problem is just that they aren't declared, I think. Will fix.
> 
> Junichi, ignore what I said earlier.  If Blaisorblade wants to fix it 
> differently, then we'll use his patch instead.

No problem with me.


regards,
	junichi.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-10  1:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-09  5:06 [PATCH] UML TT-mode-only compile fix Junichi Uekawa
2005-10-09 19:26 ` Blaisorblade
2005-10-09 22:47   ` [uml-devel] " Jeff Dike
2005-10-10  1:00     ` Junichi Uekawa
2005-10-09 20:00 ` [uml-devel] " Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome