[Tux3] cursor_redirect fix, and uml patch for current linus git

OGAWA Hirofumi hirofumi at mail.parknet.co.jp
Mon Jan 26 20:26:04 PST 2009


Hi,

This fixes/cleanup cursor_redirect().

    static-http://userweb.kernel.org/~hirofumi/tux3/

Please review.

And the following two patches to build tux3 on current linus git. I
guess one part will be fixed soon on Linus tree, because it is small
crappy bug.  I'm not sure uml part is fixed soon. Well, anyway, this is
for someone want to build (uml) kernel for tux3.

Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
---

 fs/Kconfig  |    1 +
 fs/Makefile |    1 +
 2 files changed, 2 insertions(+)

diff -puN fs/Kconfig~tux3 fs/Kconfig
--- tux3fs-2.6/fs/Kconfig~tux3	2009-01-27 12:00:50.000000000 +0900
+++ tux3fs-2.6-hirofumi/fs/Kconfig	2009-01-27 12:01:05.000000000 +0900
@@ -27,6 +27,7 @@ config FS_MBCACHE
 	default y if EXT4_FS=y && EXT4_FS_XATTR
 	default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS_XATTR
 
+source "fs/tux3/Kconfig"
 source "fs/reiserfs/Kconfig"
 source "fs/jfs/Kconfig"
 
diff -puN fs/Makefile~tux3 fs/Makefile
--- tux3fs-2.6/fs/Makefile~tux3	2009-01-27 12:00:50.000000000 +0900
+++ tux3fs-2.6-hirofumi/fs/Makefile	2009-01-27 13:15:25.000000000 +0900
@@ -73,6 +73,7 @@ obj-$(CONFIG_EXT4_FS)		+= ext4/ # Before
 obj-$(CONFIG_JBD)		+= jbd/
 obj-$(CONFIG_JBD2)		+= jbd2/
 obj-$(CONFIG_EXT2_FS)		+= ext2/
+obj-$(CONFIG_TUX3)		+= tux3/
 obj-$(CONFIG_CRAMFS)		+= cramfs/
 obj-$(CONFIG_SQUASHFS)		+= squashfs/
 obj-y				+= ramfs/
_


Signed-off-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
---

 arch/um/sys-i386/sys_call_table.S |    2 ++
 include/linux/debugfs.h           |    7 ++++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff -puN arch/um/sys-i386/sys_call_table.S~workaround-uml arch/um/sys-i386/sys_call_table.S
--- tux3fs-2.6/arch/um/sys-i386/sys_call_table.S~workaround-uml	2009-01-27 12:05:21.000000000 +0900
+++ tux3fs-2.6-hirofumi/arch/um/sys-i386/sys_call_table.S	2009-01-27 12:05:21.000000000 +0900
@@ -9,6 +9,8 @@
 
 #define old_mmap old_mmap_i386
 
+#define sys_kernel_sigprocmask sys_sigprocmask
+
 .section .rodata,"a"
 
 #include "../../x86/kernel/syscall_table_32.S"
diff -puN include/linux/debugfs.h~workaround-uml include/linux/debugfs.h
--- tux3fs-2.6/include/linux/debugfs.h~workaround-uml	2009-01-27 12:15:10.000000000 +0900
+++ tux3fs-2.6-hirofumi/include/linux/debugfs.h	2009-01-27 12:15:26.000000000 +0900
@@ -162,9 +162,10 @@ static inline struct dentry *debugfs_cre
 	return ERR_PTR(-ENODEV);
 }
 
-struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
-				     struct dentry *parent,
-				     size_t *value)
+static inline struct dentry *debugfs_create_size_t(const char *name,
+						   mode_t mode,
+						   struct dentry *parent,
+						   size_t *value)
 {
 	return ERR_PTR(-ENODEV);
 }
_

-- 
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>

_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3



More information about the Tux3 mailing list