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 5 additions and 5 deletions
File moved
File moved
File moved
File moved
#ifndef ___ASM_SPARC_ELF_H #ifndef ___ASM_SPARC_ELF_H
#define ___ASM_SPARC_ELF_H #define ___ASM_SPARC_ELF_H
#if defined(__sparc__) && defined(__arch64__) #if defined(__sparc__) && defined(__arch64__)
#include <asm-sparc/elf_64.h> #include <asm/elf_64.h>
#else #else
#include <asm-sparc/elf_32.h> #include <asm/elf_32.h>
#endif #endif
#endif #endif
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
#ifndef ___ASM_SPARC_FLOPPY_H #ifndef ___ASM_SPARC_FLOPPY_H
#define ___ASM_SPARC_FLOPPY_H #define ___ASM_SPARC_FLOPPY_H
#if defined(__sparc__) && defined(__arch64__) #if defined(__sparc__) && defined(__arch64__)
#include <asm-sparc/floppy_64.h> #include <asm/floppy_64.h>
#else #else
#include <asm-sparc/floppy_32.h> #include <asm/floppy_32.h>
#endif #endif
#endif #endif
/* asm-sparc/floppy.h: Sparc specific parts of the Floppy driver. /* asm/floppy.h: Sparc specific parts of the Floppy driver.
* *
* Copyright (C) 1995 David S. Miller (davem@davemloft.net) * Copyright (C) 1995 David S. Miller (davem@davemloft.net)
*/ */
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment