linux-1.3.12

Linus Torvalds (Linus.Torvalds@cs.Helsinki.FI)
Tue, 25 Jul 1995 14:36:32 +0300


I made linux-1.3.12 available, but hadn't had time to test some of the
things on the alpha. Sadly, there are a few really silly things wrong
with it, so it doesn't compile cleanly on an alpha. I'm including the
(very small) diffs needed for 1.3.12.

[ Aside from these diffs you also need the axp-specific diffs in
ftp.cs.helsinki.fi: pub/Software/Linux/Kernel/testing, but those are
unchanged from the 1.3.10 version so I haven't made a new diff ]

The new scheduler code actually seems to have uncovered a bug in the
PS/2 mouse driver: it will try to sleep during the initializations, even
though the idle task may not sleep. This can result in a few messages
like "idle process trying to sleep" during bootup, but the bug should be
otherwise harmless.

1.3.12 contains various axp updates, mainly the better debugging stuff
by David M-T (you should be able to debug user-level unaligned faults
now with gdb, for example). Other than that, the axp stuff seems to
have stabilized to a large degree. I expect to start working on the PPC
port shortly..

Linus

----------
diff -u --recursive --new-file uni-version/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
--- uni-version/linux/arch/alpha/kernel/osf_sys.c Tue Jul 25 10:39:23 1995
+++ linux/arch/alpha/kernel/osf_sys.c Tue Jul 25 13:33:14 1995
@@ -160,7 +160,7 @@
struct file * file = NULL;

if (flags & (MAP_HASSEMAPHORE | MAP_INHERIT | MAP_UNALIGNED))
- printk("%s: unimplemented OSF mmap flags %04lx\n", current->comm, osf_flags);
+ printk("%s: unimplemented OSF mmap flags %04lx\n", current->comm, flags);
if (!(flags & MAP_ANONYMOUS)) {
if (fd >= NR_OPEN || !(file = current->files->fd[fd]))
return -EBADF;
diff -u --recursive --new-file uni-version/linux/lib/string.c linux/lib/string.c
--- uni-version/linux/lib/string.c Thu Jul 20 09:48:13 1995
+++ linux/lib/string.c Tue Jul 25 13:36:54 1995
@@ -101,9 +101,9 @@
#endif

#ifndef __HAVE_ARCH_STRCHR
-char * strchr(const char * s,char c)
+char * strchr(const char * s, int c)
{
- for(; *s != c; ++s)
+ for(; *s != (char) c; ++s)
if (*s == '\0')
return NULL;
return (char *) s;
@@ -265,7 +265,7 @@
* find the first occurrence of byte 'c', or 1 past the area if none
*/
#ifndef __HAVE_ARCH_MEMSCAN
-void * memscan(void * addr, unsigned char c, size_t size)
+void * memscan(void * addr, int c, size_t size)
{
unsigned char * p = (unsigned char *) addr;

----------