mirror of https://gitee.com/openkylin/linux.git
[PATCH] uml: remove 2_5compat.h
Remove old useless header that was used in Ye Olde Times during 2.4->2.5 porting to abstract differences. It's definitions are no more used anyway, so let's finally kill it. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
6770cb61ff
commit
a2e4b972c9
|
@ -22,7 +22,6 @@
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
#include "irq_user.h"
|
#include "irq_user.h"
|
||||||
#include "mconsole_kern.h"
|
#include "mconsole_kern.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
|
|
||||||
static int ssl_version = 1;
|
static int ssl_version = 1;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include "irq_user.h"
|
#include "irq_user.h"
|
||||||
#include "mconsole_kern.h"
|
#include "mconsole_kern.h"
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
|
|
||||||
#define MAX_TTYS (16)
|
#define MAX_TTYS (16)
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,6 @@
|
||||||
#include "irq_user.h"
|
#include "irq_user.h"
|
||||||
#include "irq_kern.h"
|
#include "irq_kern.h"
|
||||||
#include "ubd_user.h"
|
#include "ubd_user.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "mem_kern.h"
|
#include "mem_kern.h"
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
|
|
||||||
* Licensed under the GPL
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __2_5_COMPAT_H__
|
|
||||||
#define __2_5_COMPAT_H__
|
|
||||||
|
|
||||||
#define INIT_HARDSECT(arr, maj, sizes)
|
|
||||||
|
|
||||||
#define SET_PRI(task) do ; while(0)
|
|
||||||
|
|
||||||
#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:
|
|
||||||
*/
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include "kern.h"
|
#include "kern.h"
|
||||||
#include "irq_user.h"
|
#include "irq_user.h"
|
||||||
#include "tlb.h"
|
#include "tlb.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "time_user.h"
|
#include "time_user.h"
|
||||||
#include "choose-mode.h"
|
#include "choose-mode.h"
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
#include "tlb.h"
|
#include "tlb.h"
|
||||||
#include "frame_kern.h"
|
#include "frame_kern.h"
|
||||||
#include "sigcontext.h"
|
#include "sigcontext.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "mode.h"
|
#include "mode.h"
|
||||||
#include "mode_kern.h"
|
#include "mode_kern.h"
|
||||||
|
@ -189,7 +188,6 @@ void default_idle(void)
|
||||||
|
|
||||||
while(1){
|
while(1){
|
||||||
/* endless idle loop with no priority at all */
|
/* endless idle loop with no priority at all */
|
||||||
SET_PRI(current);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* although we are an idle CPU, we do not want to
|
* although we are an idle CPU, we do not want to
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include "kern.h"
|
#include "kern.h"
|
||||||
#include "chan_kern.h"
|
#include "chan_kern.h"
|
||||||
#include "mconsole_kern.h"
|
#include "mconsole_kern.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "mem_kern.h"
|
#include "mem_kern.h"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@
|
||||||
#include "kern_util.h"
|
#include "kern_util.h"
|
||||||
#include "kern.h"
|
#include "kern.h"
|
||||||
#include "user_util.h"
|
#include "user_util.h"
|
||||||
#include "2_5compat.h"
|
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
|
|
||||||
struct hostfs_inode_info {
|
struct hostfs_inode_info {
|
||||||
|
|
Loading…
Reference in New Issue