Messages in this thread | | | Date | Mon, 14 Jul 1997 18:24:58 -0400 (EDT) | From | Myrdraal <> | Subject | Patch to make pre-2.1.45-5 compile |
| |
Hi, Well, I tried out prepatch5 for 2.1.45, and it appears to be working quite nicely, but I had to fix a few things to get it to compile. The new dcache stuff seems to have broken something in soundcard.c, I made a little fix to that, it compiles, and plays stuff OK on my sbpro compatible card, but... I don't think that was done The Right Way. Sysrq was also a bit broken and needed another one line fix to deal with the dcache stuff (I think this one is correct), and there was also a type in process.c. My system is running quite nicely with these patches in place. Bye, Myrdraal diff -ur -p0 liin/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c --- liin/linux/arch/i386/kernel/process.c Mon Jul 14 18:12:26 1997 +++ linux/arch/i386/kernel/process.c Mon Jul 14 14:18:37 1997 @@ -628 +628 @@ asmlinkage int sys_execve(struct pt_regs - if (IS_ERR(filename) + if (IS_ERR(filename)) diff -ur -p0 liin/linux/drivers/char/sysrq.c linux/drivers/char/sysrq.c --- liin/linux/drivers/char/sysrq.c Mon Jul 7 11:24:28 1997 +++ linux/drivers/char/sysrq.c Mon Jul 14 14:03:14 1997 @@ -157 +157 @@ static void all_files_read_only(void) - if (file->f_inode && file->f_count && S_ISREG(file->f_inode->i_mode)) + if (file->f_dentry->d_inode && file->f_count && S_ISREG(file->f_dentry->d_inode->i_mode)) diff -ur -p0 liin/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c --- liin/linux/drivers/sound/soundcard.c Mon Jun 16 19:35:56 1997 +++ linux/drivers/sound/soundcard.c Mon Jul 14 13:14:50 1997 @@ -249 +249 @@ sound_poll (struct file *file, poll_tabl - inode = file->f_inode; + inode = file->f_dentry; @@ -329 +329 @@ sound_mmap (struct inode *inode, struct - vma->vm_inode = inode; + vma->vm_dentry = inode;
| |