2.3.47 mtrr typo

From: Frederick Barnes (frmb2@ukc.ac.uk)
Date: Fri Feb 25 2000 - 11:38:42 EST


#ifdef was #ifdev in arch/i386/kernel/mtrr.c; small patch below.

Fred.

-- 

diff -u -p -L arch/i386/kernel/entry.S.orig arch/i386/kernel/entry.S --- arch/i386/kernel/entry.S +++ arch/i386/kernel/entry.S Fri Feb 25 15:47:53 2000 @@ -636,6 +636,7 @@ ENTRY(sys_call_table) .long SYMBOL_NAME(sys_setfsuid) /* 215 */ .long SYMBOL_NAME(sys_setfsgid) .long SYMBOL_NAME(sys_pivot_root) + .long SYMBOL_NAME(sys_sysmp) /* @@ -644,6 +645,6 @@ ENTRY(sys_call_table) * entries. Don't panic if you notice that this hasn't * been shrunk every time we add a new system call. */ - .rept NR_syscalls-217 + .rept NR_syscalls-218 .long SYMBOL_NAME(sys_ni_syscall) .endr diff -u -p -L arch/i386/kernel/mtrr.c.orig arch/i386/kernel/mtrr.c --- arch/i386/kernel/mtrr.c +++ arch/i386/kernel/mtrr.c Fri Feb 25 16:35:59 2000 @@ -1838,7 +1838,7 @@ int __init mtrr_init(void) proc_root_mtrr = create_proc_entry ("mtrr", S_IWUSR | S_IRUGO, &proc_root); proc_root_mtrr->ops = &proc_mtrr_inode_operations; #endif -#ifdev CONFIG_DEVFS_FS +#ifdef CONFIG_DEVFS_FS devfs_handle = devfs_register (NULL, "cpu/mtrr", 0, DEVFS_FL_DEFAULT, 0, 0, S_IFREG | S_IRUGO | S_IWUSR, 0, 0, &mtrr_fops, NULL);

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:13 EST