public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5.24: auto_fs.h typo.
@ 2002-06-25 15:59 Martin Schwidefsky
  2002-06-26  1:15 ` H. Peter Anvin
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Schwidefsky @ 2002-06-25 15:59 UTC (permalink / raw)
  To: torvalds, linux-kernel

Hi Linus,
my last patch for include/linux/auto_fs.h contained a typo that removed the
trailing underscores from __x86_64__.

blue skies,
  Martin.

diff -urN linux-2.5.24/include/linux/auto_fs.h linux-2.5.24-s390/include/linux/auto_fs.h
--- linux-2.5.24/include/linux/auto_fs.h	Fri Jun 21 00:53:40 2002
+++ linux-2.5.24-s390/include/linux/auto_fs.h	Fri Jun 21 14:46:59 2002
@@ -45,7 +45,7 @@
  * If so, 32-bit user-space code should be backwards compatible.
  */
 
-#if defined(__sparc__) || defined(__mips__) || defined(__x86_64) \
+#if defined(__sparc__) || defined(__mips__) || defined(__x86_64__) \
  || defined(__powerpc__) || defined(__s390__)
 typedef unsigned int autofs_wqt_t;
 #else


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

* Re: [PATCH] 2.5.24: auto_fs.h typo.
  2002-06-25 15:59 [PATCH] 2.5.24: auto_fs.h typo Martin Schwidefsky
@ 2002-06-26  1:15 ` H. Peter Anvin
  2002-06-26 12:31   ` Andreas Schwab
  0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2002-06-26  1:15 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <200206251759.34690.schwidefsky@de.ibm.com>
By author:    Martin Schwidefsky <schwidefsky@de.ibm.com>
In newsgroup: linux.dev.kernel
>
> Hi Linus,
> my last patch for include/linux/auto_fs.h contained a typo that removed the
> trailing underscores from __x86_64__.
> 
> blue skies,
>   Martin.
> 
> diff -urN linux-2.5.24/include/linux/auto_fs.h linux-2.5.24-s390/include/linux/auto_fs.h
> --- linux-2.5.24/include/linux/auto_fs.h	Fri Jun 21 00:53:40 2002
> +++ linux-2.5.24-s390/include/linux/auto_fs.h	Fri Jun 21 14:46:59 2002
> @@ -45,7 +45,7 @@
>   * If so, 32-bit user-space code should be backwards compatible.
>   */
>  
> -#if defined(__sparc__) || defined(__mips__) || defined(__x86_64) \
> +#if defined(__sparc__) || defined(__mips__) || defined(__x86_64__) \
>   || defined(__powerpc__) || defined(__s390__)
>  typedef unsigned int autofs_wqt_t;
>  #else
> 

Please change this to:

#ifndef __alpha__

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>

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

* Re: [PATCH] 2.5.24: auto_fs.h typo.
  2002-06-26  1:15 ` H. Peter Anvin
@ 2002-06-26 12:31   ` Andreas Schwab
  2002-06-26 14:23     ` H. Peter Anvin
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2002-06-26 12:31 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: linux-kernel

"H. Peter Anvin" <hpa@zytor.com> writes:

|> Followup to:  <200206251759.34690.schwidefsky@de.ibm.com>
|> By author:    Martin Schwidefsky <schwidefsky@de.ibm.com>
|> In newsgroup: linux.dev.kernel
|> >
|> > Hi Linus,
|> > my last patch for include/linux/auto_fs.h contained a typo that removed the
|> > trailing underscores from __x86_64__.
|> > 
|> > blue skies,
|> >   Martin.
|> > 
|> > diff -urN linux-2.5.24/include/linux/auto_fs.h linux-2.5.24-s390/include/linux/auto_fs.h
|> > --- linux-2.5.24/include/linux/auto_fs.h	Fri Jun 21 00:53:40 2002
|> > +++ linux-2.5.24-s390/include/linux/auto_fs.h	Fri Jun 21 14:46:59 2002
|> > @@ -45,7 +45,7 @@
|> >   * If so, 32-bit user-space code should be backwards compatible.
|> >   */
|> >  
|> > -#if defined(__sparc__) || defined(__mips__) || defined(__x86_64) \
|> > +#if defined(__sparc__) || defined(__mips__) || defined(__x86_64__) \
|> >   || defined(__powerpc__) || defined(__s390__)
|> >  typedef unsigned int autofs_wqt_t;
|> >  #else
|> > 
|> 
|> Please change this to:
|> 
|> #ifndef __alpha__

What about __ia64__?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: [PATCH] 2.5.24: auto_fs.h typo.
  2002-06-26 12:31   ` Andreas Schwab
@ 2002-06-26 14:23     ` H. Peter Anvin
  2002-06-27  3:58       ` David Mosberger
  0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2002-06-26 14:23 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: linux-kernel

Andreas Schwab wrote:
> |> 
> |> Please change this to:
> |> 
> |> #ifndef __alpha__
> 
> What about __ia64__?
> 

Oh right, that one too...

	-hpa





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

* Re: [PATCH] 2.5.24: auto_fs.h typo.
  2002-06-26 14:23     ` H. Peter Anvin
@ 2002-06-27  3:58       ` David Mosberger
  2002-06-27 14:24         ` H. Peter Anvin
  0 siblings, 1 reply; 7+ messages in thread
From: David Mosberger @ 2002-06-27  3:58 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Andreas Schwab, linux-kernel

>>>>> On Wed, 26 Jun 2002 10:23:26 -0400, "H. Peter Anvin" <hpa@zytor.com> said:

  hpa> Andreas Schwab wrote:
  >> |> |> Please change this to:
  >> |> 
  >> |> #ifndef __alpha__
  >> 
  >> What about __ia64__?

  hpa> Oh right, that one too...

Isn't this the one which we agreed not to change because it would break
existing ia64 automount binaries and because we do not expect x86 automount
to run on ia64 machines?

	--david

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

* Re: [PATCH] 2.5.24: auto_fs.h typo.
  2002-06-27  3:58       ` David Mosberger
@ 2002-06-27 14:24         ` H. Peter Anvin
  2002-07-01 20:14           ` David Mosberger
  0 siblings, 1 reply; 7+ messages in thread
From: H. Peter Anvin @ 2002-06-27 14:24 UTC (permalink / raw)
  To: davidm; +Cc: Andreas Schwab, linux-kernel

David Mosberger wrote:
>>>>>>On Wed, 26 Jun 2002 10:23:26 -0400, "H. Peter Anvin" <hpa@zytor.com> said:
>>>>>
> 
>   hpa> Andreas Schwab wrote:
>   >> |> |> Please change this to:
>   >> |> 
>   >> |> #ifndef __alpha__
>   >> 
>   >> What about __ia64__?
> 
>   hpa> Oh right, that one too...
> 
> Isn't this the one which we agreed not to change because it would break
> existing ia64 automount binaries and because we do not expect x86 automount
> to run on ia64 machines?
> 

Right, hence:

#if !defined(__alpha__) && !defined(__ia64__)

Alpha and IA64 being the 64-bit architectures which will continue to use 
the older interface.

	-hpa





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

* Re: [PATCH] 2.5.24: auto_fs.h typo.
  2002-06-27 14:24         ` H. Peter Anvin
@ 2002-07-01 20:14           ` David Mosberger
  0 siblings, 0 replies; 7+ messages in thread
From: David Mosberger @ 2002-07-01 20:14 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Andreas Schwab, linux-kernel

>>>>> On Thu, 27 Jun 2002 10:24:11 -0400, "H. Peter Anvin" <hpa@zytor.com> said:

  hpa> David Mosberger wrote:
  >>>>>>> On Wed, 26 Jun 2002 10:23:26 -0400, "H. Peter Anvin"
  >>>>>>> <hpa@zytor.com> said:
  >>>>>>
  >>
  hpa> Andreas Schwab wrote:
  >> >> |> |> Please change this to:
  >> >> |> 
  >> >> |> #ifndef __alpha__
  >> >> 
  >> >> What about __ia64__?
  >> 
  hpa> Oh right, that one too...
  >>  Isn't this the one which we agreed not to change because it
  >> would break existing ia64 automount binaries and because we do
  >> not expect x86 automount to run on ia64 machines?
  >> 

  hpa> Right, hence:

  hpa> #if !defined(__alpha__) && !defined(__ia64__)

  hpa> Alpha and IA64 being the 64-bit architectures which will
  hpa> continue to use the older interface.

Ah, OK, that looks good to me, then.

	--david

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

end of thread, other threads:[~2002-07-01 20:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-25 15:59 [PATCH] 2.5.24: auto_fs.h typo Martin Schwidefsky
2002-06-26  1:15 ` H. Peter Anvin
2002-06-26 12:31   ` Andreas Schwab
2002-06-26 14:23     ` H. Peter Anvin
2002-06-27  3:58       ` David Mosberger
2002-06-27 14:24         ` H. Peter Anvin
2002-07-01 20:14           ` David Mosberger

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