Use arch/sparc/include/asm for sparc & sparc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David.

Please pull from:

   git://git.kernel.org/pub/scm/linux/kernel/git/sam/sparc.git master

to receive the following two patches:

Sam Ravnborg (2):
      sparc, sparc64: use arch/sparc/include
      sparc: enable headers_export again

This is the initial full unification of header files for
sparc and sparc64 and the first architecture to use
arch/$ARCH/include/...

This patch-set will most likely break m68k as m68k include
a few sparc headers (Geert Uytterhoeven copied).

I suggest to introduce use of arch/m68k/include to make the fix trivial.


The fist patch basically moves all header files
from include/asm-sparc{,64} and the diffstat and diff is very big.

>From the changelog of the patch:
 The majority of this patch was created by the following script:

    ***
    ASM=arch/sparc/include/asm
    mkdir -p $ASM
    git mv include/asm-sparc64/ftrace.h $ASM
    git rm include/asm-sparc64/*
    git mv include/asm-sparc/* $ASM
    sed -ie 's/asm-sparc64/asm/g' $ASM/*
    sed -ie 's/asm-sparc/asm/g' $ASM/*
    ***

    The rest was an update of the top-level Makefile to use sparc
    for header files when sparc64 is being build.
    And a small fixlet to pick up the correct unistd.h from
    sparc64 code.

The patch will not be posted as it is too big.

The second patch will be posted as a followup.

	Sam


--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux