lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject2.3.47 mtrr typo
Date
From

#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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.046 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site