* MD device on alphas
@ 1996-04-17 11:19 Jim_Nance
0 siblings, 0 replies; only message in thread
From: Jim_Nance @ 1996-04-17 11:19 UTC (permalink / raw)
Hi All,
I decided to try compiling 1.3.89 with some features I don't normally
use since Linus asked for testing. I found that there were some problems
compiling the md driver, and I have included patches for this below. Most
of the problems are due to the fact that I am cross compiling from
Digital Unix, and the code was including things from the system include
files rather than the linux include files. I did have to add an include
of asm/segment.h to md.c in order to get rid of references to functions like
put_fs_long which makes me wonder if something is wrong somewhere else
since the x86 version does not seem to need this. Anyway, here are the
patches. Please note that I have no way of testing the executable, I just
wanted to make sure it compiled.
Jim
diff -ru linux/drivers/block/md.c linux.fixed/drivers/block/md.c
--- linux/drivers/block/md.c Fri Apr 12 02:49:33 1996
+++ linux.fixed/drivers/block/md.c Wed Apr 17 06:50:02 1996
@@ -34,7 +34,7 @@
#ifdef CONFIG_KERNELD
#include <linux/kerneld.h>
#endif
-#include <errno.h>
+#include <linux/errno.h>
#define MAJOR_NR MD_MAJOR
#define MD_DRIVER
diff -ru linux/include/linux/md.h linux.fixed/include/linux/md.h
--- linux/include/linux/md.h Sat Mar 2 14:21:51 1996
+++ linux.fixed/include/linux/md.h Wed Apr 17 06:54:09 1996
@@ -18,6 +18,7 @@
#ifndef _MD_H
#define _MD_H
+#include <asm/segment.h>
#include <linux/major.h>
#include <linux/mm.h>
#include <linux/ioctl.h>
@@ -60,7 +61,7 @@
#ifdef __KERNEL__
#include <linux/config.h>
-#include <sys/types.h>
+#include <linux/types.h>
#include <linux/fs.h>
#include <linux/blkdev.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-04-17 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-17 11:19 MD device on alphas Jim_Nance
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox