2006-12-04 23:16:32

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 2/4] UML - Include asm/page.h in order to get PAGE_SHIFT

Include the proper header to get a definition of PAGE_SHIFT.

Signed-off-by: Jeff Dike <[email protected]>

Index: linux-2.6.17/arch/um/include/sysdep-i386/stub.h
===================================================================
--- linux-2.6.17.orig/arch/um/include/sysdep-i386/stub.h 2006-06-17 21:49:35.000000000 -0400
+++ linux-2.6.17/arch/um/include/sysdep-i386/stub.h 2006-11-13 16:41:37.000000000 -0500
@@ -9,6 +9,7 @@
#include <sys/mman.h>
#include <asm/ptrace.h>
#include <asm/unistd.h>
+#include <asm/page.h>
#include "stub-data.h"
#include "kern_constants.h"
#include "uml-config.h"