x86, um: initial part of asm-um move
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
31
arch/um/include/asm/pda.h
Normal file
31
arch/um/include/asm/pda.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright 2003 PathScale, Inc.
|
||||
*
|
||||
* Licensed under the GPL
|
||||
*/
|
||||
|
||||
#ifndef __UM_PDA_X86_64_H
|
||||
#define __UM_PDA_X86_64_H
|
||||
|
||||
/* XXX */
|
||||
struct foo {
|
||||
unsigned int __softirq_pending;
|
||||
unsigned int __nmi_count;
|
||||
};
|
||||
|
||||
extern struct foo me;
|
||||
|
||||
#define read_pda(me) (&me)
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Overrides for Emacs so that we follow Linus's tabbing style.
|
||||
* Emacs will notice this stuff at the end of the file and automatically
|
||||
* adjust the settings for this buffer only. This must remain at the end
|
||||
* of the file.
|
||||
* ---------------------------------------------------------------------------
|
||||
* Local variables:
|
||||
* c-file-style: "linux"
|
||||
* End:
|
||||
*/
|
Reference in New Issue
Block a user