]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/sparc/include/asm/traps.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / sparc / include / asm / traps.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
88278ca2 2/*
1da177e4
LT
3 * traps.h: Format of entries for the Sparc trap table.
4 *
5 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
6 */
1da177e4
LT
7#ifndef _SPARC_TRAPS_H
8#define _SPARC_TRAPS_H
9
54579826 10#include <uapi/asm/traps.h>
1da177e4
LT
11
12#ifndef __ASSEMBLY__
1da177e4
LT
13/* This is for V8 compliant Sparc CPUS */
14struct tt_entry {
15 unsigned long inst_one;
16 unsigned long inst_two;
17 unsigned long inst_three;
18 unsigned long inst_four;
19};
20
21/* We set this to _start in system setup. */
22extern struct tt_entry *sparc_ttable;
23
1da177e4 24#endif /* !(__ASSEMBLY__) */
1da177e4 25#endif /* !(_SPARC_TRAPS_H) */