summaryrefslogtreecommitdiff
path: root/debian/patches/50_initrd.patch
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-05 13:39:51 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-05 13:39:51 +0200
commitbe7e167f2538dd11e64daa789a9415d9fb33426c (patch)
tree0e2fdb5eff5022c4913b4cb2cd0963bf21a21197 /debian/patches/50_initrd.patch
parenta5cdbbf621630c8a928b45cbd67b1c7fc0e11469 (diff)
Refresh patches
* patches/50_initrd.patch: Refresh. * patches/60_bigmem.patch: Also update the kernel/user addresses limit.
Diffstat (limited to 'debian/patches/50_initrd.patch')
-rw-r--r--debian/patches/50_initrd.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/50_initrd.patch b/debian/patches/50_initrd.patch
index affcb7f..3091996 100644
--- a/debian/patches/50_initrd.patch
+++ b/debian/patches/50_initrd.patch
@@ -45,7 +45,7 @@ Index: gnumach/kern/boot_script.c
+/* Create an initial ramdisk */
+static int
-+ramdisk_create (struct cmd *cmd, int *val)
++ramdisk_create (struct cmd *cmd, long *val)
+{
+ return boot_script_ramdisk_create (cmd, (char **) val);
+}
@@ -53,10 +53,10 @@ Index: gnumach/kern/boot_script.c
/* List of builtin symbols. */
static struct sym builtin_symbols[] =
{
- { "task-create", VAL_FUNC, (int) create_task, VAL_TASK, 0 },
- { "task-resume", VAL_FUNC, (int) resume_task, VAL_NONE, 1 },
- { "prompt-task-resume", VAL_FUNC, (int) prompt_resume_task, VAL_NONE, 1 },
-+ { "ramdisk-create", VAL_FUNC, (int) ramdisk_create, VAL_STR, 0 },
+ { "task-create", VAL_FUNC, (long) create_task, VAL_TASK, 0 },
+ { "task-resume", VAL_FUNC, (long) resume_task, VAL_NONE, 1 },
+ { "prompt-task-resume", VAL_FUNC, (long) prompt_resume_task, VAL_NONE, 1 },
++ { "ramdisk-create", VAL_FUNC, (long) ramdisk_create, VAL_STR, 0 },
};
#define NUM_BUILTIN (sizeof (builtin_symbols) / sizeof (builtin_symbols[0]))