All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Architecture-specific include files
@ 2001-04-22 20:01 Matthew Wilcox
  2001-04-22 22:23 ` Jeff Dike
  2001-04-26  1:51 ` Jes Sorensen
  0 siblings, 2 replies; 4+ messages in thread
From: Matthew Wilcox @ 2001-04-22 20:01 UTC (permalink / raw
  To: linux-kernel


Something which came up in one of the hallway discussions at the
kernelsummit was that a lot of the architecture maintainers would find
it more convenient if the arch-specific header files were moved from
include/asm-$ARCH to arch/$ARCH/include.  Since we use a symlink _anyway_,
no global changes to include statements are necessary, we'd merely need
to change Makefile from

symlinks:
        rm -f include/asm
        ( cd include ; ln -sf asm-$(ARCH) asm)

to

symlinks:
        rm -f include/asm
        ( cd include ; ln -sf ../arch/$(ARCH)/include asm)

Would anyone have a problem with this change?  It'll make for a hell
of a big patch from Linus, but it really will simplify the lives of the
architecture maintainers.

-- 
Revolutions do not require corporate support.

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

* Re: Architecture-specific include files
  2001-04-22 20:01 Architecture-specific include files Matthew Wilcox
@ 2001-04-22 22:23 ` Jeff Dike
  2001-04-26  1:51 ` Jes Sorensen
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Dike @ 2001-04-22 22:23 UTC (permalink / raw
  To: Matthew Wilcox; +Cc: linux-kernel

matthew@wil.cx said:
> Would anyone have a problem with this change? 

UML already has a arch/um/include for private headers that the rest of the 
kernel is not allowed to see.

It would mean moving it, which is not a big deal.

				Jeff



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

* Re: Architecture-specific include files
  2001-04-22 20:01 Architecture-specific include files Matthew Wilcox
  2001-04-22 22:23 ` Jeff Dike
@ 2001-04-26  1:51 ` Jes Sorensen
  2001-04-27 10:47   ` Pavel Machek
  1 sibling, 1 reply; 4+ messages in thread
From: Jes Sorensen @ 2001-04-26  1:51 UTC (permalink / raw
  To: Matthew Wilcox; +Cc: linux-kernel

>>>>> "Matthew" == Matthew Wilcox <matthew@wil.cx> writes:

Matthew> Something which came up in one of the hallway discussions at
Matthew> the kernelsummit was that a lot of the architecture
Matthew> maintainers would find it more convenient if the
Matthew> arch-specific header files were moved from include/asm-$ARCH
Matthew> to arch/$ARCH/include.  Since we use a symlink _anyway_, no
Matthew> global changes to include statements are necessary, we'd
Matthew> merely need to change Makefile from

[snip]

Matthew> Would anyone have a problem with this change?  It'll make for
Matthew> a hell of a big patch from Linus, but it really will simplify
Matthew> the lives of the architecture maintainers.

I don't see what it saves, except for the fact you just have to run
diff -urN once instead of twice when you want to send Linus a large
diff. Or am I missing something?

Jes

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

* Re: Architecture-specific include files
  2001-04-26  1:51 ` Jes Sorensen
@ 2001-04-27 10:47   ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2001-04-27 10:47 UTC (permalink / raw
  To: Jes Sorensen; +Cc: Matthew Wilcox, linux-kernel

Hi!

> Matthew> Something which came up in one of the hallway discussions at
> Matthew> the kernelsummit was that a lot of the architecture
> Matthew> maintainers would find it more convenient if the
> Matthew> arch-specific header files were moved from include/asm-
> Matthew> to arch//include.  Since we use a symlink _anyway_, no
> Matthew> global changes to include statements are necessary, we'd
> Matthew> merely need to change Makefile from
> 
> [snip]
> 
> Matthew> Would anyone have a problem with this change?  It'll make for
> Matthew> a hell of a big patch from Linus, but it really will simplify
> Matthew> the lives of the architecture maintainers.
> 
> I don't see what it saves, except for the fact you just have to run
> diff -urN once instead of twice when you want to send Linus a large
> diff. Or am I missing something?

Saving one diff urN is nice, plus you can distribute your architecture
as tar file more easily, plus it is easier to put just your arch in cvs.

I like it.
								Pavel
-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


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

end of thread, other threads:[~2001-04-29 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-22 20:01 Architecture-specific include files Matthew Wilcox
2001-04-22 22:23 ` Jeff Dike
2001-04-26  1:51 ` Jes Sorensen
2001-04-27 10:47   ` Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.