mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
02a650e282
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUAUHVduxOxKuMESys7AQKD/g//evCwx4w4ibzMTtvllbdj/vEU8rCSdOcL h32oTzznfGRyJY3IuZUFheRg6W1IrkhecWhrybAdkcKikV723SblOW9JSw/pAzzd kB9WrQwyc8CBNHye7nMXG8azY5PV86+pRyD1g9ps+6ingsPEASOz89/gtFmBIzZk gehCbV2f1XEEO079N6iIVTIuF+jbIQ6fwhdigxDMYUTPJk7Y1DTArLRmqGxqlTi1 X3zC/tEK3J8sxggvVUfruL/fHsDdlDwU4kRcFYCYZGFK7ZXIlNtr0Y9HDSfHn5bl JVO9/03a0P2d1FUWQuN5Zq9PdeIOFuoMC8NjD59XL0xig/jv0xphw0XlBe6NyAxe qtaNu3nzU2bsAl9qtfY2C4cX6n1OwOBubu74TIg5q1Rmcs0PQFFRijUP1IMurUZz 8pX63scZAipBC2ZVHJ9E9d6Wb9TSeNU6U9EBVB/ISjOzg/VrjZMDrW5HAOhOq3g/ c2amVDHXQ6JJLYdJDIr5C6hxsq/HZgfxEHyyXuVrfvO8FtmYDGJOgGkpRRPX5ltm qhH2QPj6DPsroNP5GlErjrWYuw+jqrshb0GEVUXke2dw3NcJGg6SHBcQYU69DRWO 0pf62ygDJyTccXUJndpbIWj3ofO7/Q5m6XcCbcoIP3bCF70KkAJcOn1SEwvFJVew WkqbPcLeWHU= =/VuH -----END PGP SIGNATURE----- Merge tag 'disintegrate-misc-arches-20121010' of git://git.infradead.org/users/dhowells/linux-headers Pull UAPI disintegration for misc arches from David Howells: "UAPI disintegration for MN10300, FRV and AVR32 arches" * tag 'disintegrate-misc-arches-20121010' of git://git.infradead.org/users/dhowells/linux-headers: UAPI: (Scripted) Disintegrate arch/mn10300/include/asm UAPI: (Scripted) Disintegrate arch/frv/include/asm UAPI: (Scripted) Disintegrate arch/avr32/include/asm
27 lines
805 B
C
27 lines
805 B
C
/* MN10300 Exception frame layout and ptrace constants
|
|
*
|
|
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
|
|
* Written by David Howells (dhowells@redhat.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public Licence
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the Licence, or (at your option) any later version.
|
|
*/
|
|
#ifndef _ASM_PTRACE_H
|
|
#define _ASM_PTRACE_H
|
|
|
|
#include <uapi/asm/ptrace.h>
|
|
|
|
|
|
#define user_mode(regs) (((regs)->epsw & EPSW_nSL) == EPSW_nSL)
|
|
#define instruction_pointer(regs) ((regs)->pc)
|
|
#define user_stack_pointer(regs) ((regs)->sp)
|
|
#define current_pt_regs() current_frame()
|
|
|
|
#define arch_has_single_step() (1)
|
|
|
|
#define profile_pc(regs) ((regs)->pc)
|
|
|
|
#endif /* _ASM_PTRACE_H */
|