[<prev] [next>] [day] [month] [year] [list]
Message-Id: <11610972733507-git-send-email-blaisorblade@yahoo.it>
Date: Tue, 17 Oct 2006 17:01:13 +0200
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@...oo.it>
To: stable@...nel.org
Cc: Jeff Dike <jdike@...toit.com>, linux-kernel@...r.kernel.org,
user-mode-linux-devel@...ts.sourceforge.net,
Ulrich Drepper <drepper@...hat.com>,
Andrew Morton <akpm@...l.org>
Subject: uml: make Uml compile on FC6 kernel headers
From: Ulrich Drepper <drepper@...hat.com>
I need this patch to get a UML kernel to compile. This is with the kernel
headers in FC6 which are automatically generated from the kernel tree.
Some headers are missing but those files don't need them. At least it
appears so since the resulting kernel works fine.
Tested on x86-64.
Signed-off-by: Ulrich Drepper <drepper@...hat.com>
Cc: Jeff Dike <jdike@...toit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@...oo.it>
Signed-off-by: Andrew Morton <akpm@...l.org>
---
arch/um/include/kern_util.h | 1 -
arch/um/sys-x86_64/stub_segv.c | 1 -
2 files changed, 2 deletions(-)
diff -puN arch/um/include/kern_util.h~make-uml-copmile arch/um/include/kern_util.h
--- a/arch/um/include/kern_util.h~make-uml-copmile
+++ a/arch/um/include/kern_util.h
@@ -6,7 +6,6 @@
#ifndef __KERN_UTIL_H__
#define __KERN_UTIL_H__
-#include "linux/threads.h"
#include "sysdep/ptrace.h"
#include "sysdep/faultinfo.h"
diff -puN arch/um/sys-x86_64/stub_segv.c~make-uml-copmile arch/um/sys-x86_64/stub_segv.c
--- a/arch/um/sys-x86_64/stub_segv.c~make-uml-copmile
+++ a/arch/um/sys-x86_64/stub_segv.c
@@ -5,7 +5,6 @@
#include <stddef.h>
#include <signal.h>
-#include <linux/compiler.h>
#include <asm/unistd.h>
#include "uml-config.h"
#include "sysdep/sigcontext.h"
_
Patches currently in -mm which might be from drepper@...hat.com are
make-uml-copmile.patch
honour-mnt_noexec-for-access.patch
kevent-core-files.patch
kevent-core-files-fix.patch
kevent-core-files-s390-hack.patch
kevent-poll-select-notifications.patch
kevent-socket-notifications.patch
kevent-socket-notifications-fix-2.patch
kevent-socket-notifications-fix-4.patch
kevent-timer-notifications.patch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists