git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
um
/
kernel
/
init_task.c
diff --git
a/arch/um/kernel/init_task.c
b/arch/um/kernel/init_task.c
index
cd7c85b
..
49ed5dd
100644
(file)
--- a/
arch/um/kernel/init_task.c
+++ b/
arch/um/kernel/init_task.c
@@
-13,6
+13,7
@@
#include "asm/pgtable.h"
#include "user_util.h"
#include "mem_user.h"
#include "asm/pgtable.h"
#include "user_util.h"
#include "mem_user.h"
+#include "os.h"
static struct fs_struct init_fs = INIT_FS;
struct mm_struct init_mm = INIT_MM(init_mm);
static struct fs_struct init_fs = INIT_FS;
struct mm_struct init_mm = INIT_MM(init_mm);
@@
-45,8
+46,8
@@
__attribute__((__section__(".data.init_task"))) =
void unprotect_stack(unsigned long stack)
{
void unprotect_stack(unsigned long stack)
{
- protect_memory(stack, (1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE,
- 1, 1, 0
, 1
);
+ os_protect_memory((void *) stack, (1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE,
+ 1, 1, 0);
}
/*
}
/*