2004-11-04 02:14:24

by Blaisorblade

[permalink] [raw]
Subject: [patch 06/20] uml: remove useless inclusion


Avoid including some unused headers.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
---

vanilla-linux-2.6.9-paolo/arch/um/kernel/main.c | 2 ++
vanilla-linux-2.6.9-paolo/arch/um/kernel/skas/include/mmu-skas.h | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)

diff -puN arch/um/kernel/skas/include/mmu-skas.h~uml-remove-useless-inclusion arch/um/kernel/skas/include/mmu-skas.h
--- vanilla-linux-2.6.9/arch/um/kernel/skas/include/mmu-skas.h~uml-remove-useless-inclusion 2004-11-03 23:44:58.287699040 +0100
+++ vanilla-linux-2.6.9-paolo/arch/um/kernel/skas/include/mmu-skas.h 2004-11-03 23:44:58.291698432 +0100
@@ -6,9 +6,6 @@
#ifndef __SKAS_MMU_H
#define __SKAS_MMU_H

-#include "linux/list.h"
-#include "linux/spinlock.h"
-
struct mmu_context_skas {
int mm_fd;
};
diff -puN arch/um/kernel/main.c~uml-remove-useless-inclusion arch/um/kernel/main.c
--- vanilla-linux-2.6.9/arch/um/kernel/main.c~uml-remove-useless-inclusion 2004-11-03 23:44:58.288698888 +0100
+++ vanilla-linux-2.6.9-paolo/arch/um/kernel/main.c 2004-11-03 23:44:58.291698432 +0100
@@ -17,6 +17,8 @@
#include "kern_util.h"
#include "mem_user.h"
#include "signal_user.h"
+#include "time_user.h"
+#include "irq_user.h"
#include "user.h"
#include "init.h"
#include "mode.h"
_