mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
UAPI: (Scripted) Disintegrate arch/tile/include/arch
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
9e2d8656f5
commit
43e858598a
20 changed files with 53 additions and 31 deletions
|
@ -1,17 +0,0 @@
|
|||
header-y += abi.h
|
||||
header-y += chip.h
|
||||
header-y += chip_tile64.h
|
||||
header-y += chip_tilegx.h
|
||||
header-y += chip_tilepro.h
|
||||
header-y += icache.h
|
||||
header-y += interrupts.h
|
||||
header-y += interrupts_32.h
|
||||
header-y += interrupts_64.h
|
||||
header-y += opcode.h
|
||||
header-y += opcode_tilegx.h
|
||||
header-y += opcode_tilepro.h
|
||||
header-y += sim.h
|
||||
header-y += sim_def.h
|
||||
header-y += spr_def.h
|
||||
header-y += spr_def_32.h
|
||||
header-y += spr_def_64.h
|
|
@ -11,15 +11,11 @@
|
|||
* NON INFRINGEMENT. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#ifndef __ARCH_SPR_DEF_H__
|
||||
#define __ARCH_SPR_DEF_H__
|
||||
|
||||
/* Include the proper base SPR definition file. */
|
||||
#ifdef __tilegx__
|
||||
#include <arch/spr_def_64.h>
|
||||
#else
|
||||
#include <arch/spr_def_32.h>
|
||||
#endif
|
||||
#include <uapi/arch/spr_def.h>
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/*
|
||||
* In addition to including the proper base SPR definition file, depending
|
||||
|
@ -110,4 +106,4 @@
|
|||
#define INT_INTCTRL_K \
|
||||
_concat4(INT_INTCTRL_, CONFIG_KERNEL_PL,,)
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* __ARCH_SPR_DEF_H__ */
|
||||
|
|
|
@ -1 +1,18 @@
|
|||
# UAPI Header export list
|
||||
header-y += abi.h
|
||||
header-y += chip.h
|
||||
header-y += chip_tile64.h
|
||||
header-y += chip_tilegx.h
|
||||
header-y += chip_tilepro.h
|
||||
header-y += icache.h
|
||||
header-y += interrupts.h
|
||||
header-y += interrupts_32.h
|
||||
header-y += interrupts_64.h
|
||||
header-y += opcode.h
|
||||
header-y += opcode_tilegx.h
|
||||
header-y += opcode_tilepro.h
|
||||
header-y += sim.h
|
||||
header-y += sim_def.h
|
||||
header-y += spr_def.h
|
||||
header-y += spr_def_32.h
|
||||
header-y += spr_def_64.h
|
||||
|
|
26
arch/tile/include/uapi/arch/spr_def.h
Normal file
26
arch/tile/include/uapi/arch/spr_def.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Copyright 2010 Tilera Corporation. All Rights Reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation, version 2.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
|
||||
* NON INFRINGEMENT. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
|
||||
#ifndef _UAPI__ARCH_SPR_DEF_H__
|
||||
#define _UAPI__ARCH_SPR_DEF_H__
|
||||
|
||||
/* Include the proper base SPR definition file. */
|
||||
#ifdef __tilegx__
|
||||
#include <arch/spr_def_64.h>
|
||||
#else
|
||||
#include <arch/spr_def_32.h>
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _UAPI__ARCH_SPR_DEF_H__ */
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
#ifndef __DOXYGEN__
|
||||
|
||||
#ifndef __ARCH_SPR_DEF_H__
|
||||
#define __ARCH_SPR_DEF_H__
|
||||
#ifndef __ARCH_SPR_DEF_32_H__
|
||||
#define __ARCH_SPR_DEF_32_H__
|
||||
|
||||
#define SPR_AUX_PERF_COUNT_0 0x6005
|
||||
#define SPR_AUX_PERF_COUNT_1 0x6006
|
||||
|
@ -252,6 +252,6 @@
|
|||
#define SPR_WATCH_MASK 0x420a
|
||||
#define SPR_WATCH_VAL 0x420b
|
||||
|
||||
#endif /* !defined(__ARCH_SPR_DEF_H__) */
|
||||
#endif /* !defined(__ARCH_SPR_DEF_32_H__) */
|
||||
|
||||
#endif /* !defined(__DOXYGEN__) */
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
#ifndef __DOXYGEN__
|
||||
|
||||
#ifndef __ARCH_SPR_DEF_H__
|
||||
#define __ARCH_SPR_DEF_H__
|
||||
#ifndef __ARCH_SPR_DEF_64_H__
|
||||
#define __ARCH_SPR_DEF_64_H__
|
||||
|
||||
#define SPR_AUX_PERF_COUNT_0 0x2105
|
||||
#define SPR_AUX_PERF_COUNT_1 0x2106
|
||||
|
@ -211,6 +211,6 @@
|
|||
#define SPR_WATCH_MASK 0x200a
|
||||
#define SPR_WATCH_VAL 0x200b
|
||||
|
||||
#endif /* !defined(__ARCH_SPR_DEF_H__) */
|
||||
#endif /* !defined(__ARCH_SPR_DEF_64_H__) */
|
||||
|
||||
#endif /* !defined(__DOXYGEN__) */
|
Loading…
Reference in a new issue