android_kernel_xiaomi_sm8350/arch/um/include/arch.h
Jeff Dike eb8307595b uml: create arch.h
This patch moves the declarations of the architecture hooks from user_util.h
to a new header, arch.c, and adds the necessary includes to files which need
those declarations.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:13:01 -07:00

16 lines
335 B
C

/*
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#ifndef __ARCH_H__
#define __ARCH_H__
#include "sysdep/ptrace.h"
extern void arch_check_bugs(void);
extern int arch_fixup(unsigned long address, void *sc_ptr);
extern int arch_handle_signal(int sig, union uml_pt_regs *regs);
#endif