Skip to content
Snippets Groups Projects
Commit a439fe51 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

sparc, sparc64: use arch/sparc/include


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.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 837b41b5
No related branches found
No related tags found
No related merge requests found
Showing
with 8 additions and 8 deletions
File moved
/* /*
* asm-sparc/btfixup.h: Macros for boot time linking. * asm/btfixup.h: Macros for boot time linking.
* *
* Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*/ */
......
File moved
/* include/asm-sparc/bugs.h: Sparc probes for various bugs. /* include/asm/bugs.h: Sparc probes for various bugs.
* *
* Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net) * Copyright (C) 1996, 2007 David S. Miller (davem@davemloft.net)
*/ */
......
File moved
File moved
#ifndef ___ASM_SPARC_CACHEFLUSH_H #ifndef ___ASM_SPARC_CACHEFLUSH_H
#define ___ASM_SPARC_CACHEFLUSH_H #define ___ASM_SPARC_CACHEFLUSH_H
#if defined(__sparc__) && defined(__arch64__) #if defined(__sparc__) && defined(__arch64__)
#include <asm-sparc/cacheflush_64.h> #include <asm/cacheflush_64.h>
#else #else
#include <asm-sparc/cacheflush_32.h> #include <asm/cacheflush_32.h>
#endif #endif
#endif #endif
File moved
#ifndef ___ASM_SPARC_CHECKSUM_H #ifndef ___ASM_SPARC_CHECKSUM_H
#define ___ASM_SPARC_CHECKSUM_H #define ___ASM_SPARC_CHECKSUM_H
#if defined(__sparc__) && defined(__arch64__) #if defined(__sparc__) && defined(__arch64__)
#include <asm-sparc/checksum_64.h> #include <asm/checksum_64.h>
#else #else
#include <asm-sparc/checksum_32.h> #include <asm/checksum_32.h>
#endif #endif
#endif #endif
File moved
File moved
File moved
File moved
File moved
#ifndef ___ASM_SPARC_CPUDATA_H #ifndef ___ASM_SPARC_CPUDATA_H
#define ___ASM_SPARC_CPUDATA_H #define ___ASM_SPARC_CPUDATA_H
#if defined(__sparc__) && defined(__arch64__) #if defined(__sparc__) && defined(__arch64__)
#include <asm-sparc/cpudata_64.h> #include <asm/cpudata_64.h>
#else #else
#include <asm-sparc/cpudata_32.h> #include <asm/cpudata_32.h>
#endif #endif
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment