Improved configuration scripts
Removed compiler warnings from re-defining ext2_error
-#include <../obd/linux/sym_obd.h>
+#include <../obd/linux/sim_obd.h>
-#ifndef __LINUX_SYM_OBD_H
-#define __LINUX_SYM_OBD_H
+#ifndef __LINUX_SIM_OBD_H
+#define __LINUX_SIM_OBD_H
#include <linux/fs.h>
#include <linux/ext2_fs.h>
#include <linux/malloc.h>
#include <linux/vmalloc.h>
#include <linux/fs.h>
#include <linux/ext2_fs.h>
#include <linux/malloc.h>
#include <linux/vmalloc.h>
#define D_IOCTL 1024 /* ioctl related information */
#define D_BLOCKS 2048 /* ext2 block allocation */
#define D_IOCTL 1024 /* ioctl related information */
#define D_BLOCKS 2048 /* ext2 block allocation */
#define CDEBUG(mask, format, a...) \
do { \
if (obd_debug_level & mask) { \
#define CDEBUG(mask, format, a...) \
do { \
if (obd_debug_level & mask) { \
if (obd_print_entry) \
printk("Process %d leaving %s\n", current->pid, __FUNCTION__)
if (obd_print_entry) \
printk("Process %d leaving %s\n", current->pid, __FUNCTION__)
-#else /* SYM_OBD_DEBUG */
+#else /* SIM_OBD_DEBUG */
# define CDEBUG ;
# define ENTRY ;
# define EXIT ;
# define CDEBUG ;
# define ENTRY ;
# define EXIT ;
-#endif /* SYM_OBD_DEBUG */
+#endif /* SIM_OBD_DEBUG */
/* super.c */
#define ext2_warning obd_warning
/* super.c */
#define ext2_warning obd_warning
#define ext2_error obd_warning
#define ext2_panic obd_warning
#define ext2_error obd_warning
#define ext2_panic obd_warning
/* super.c */
extern struct super_operations ext2_sops;
/* super.c */
extern struct super_operations ext2_sops;
-#endif /* __LINUX_SYM_OBD_H */
+#endif /* __LINUX_SIM_OBD_H */
#include <asm/uaccess.h>
#include <linux/utsname.h>
#include <asm/uaccess.h>
#include <linux/utsname.h>
-#include <linux/sym_obd.h>
+#include <linux/sim_obd.h>
#include <linux/presto.h>
#include <linux/obd_psdev.h>
#include <linux/presto_upcall.h>
#include <linux/presto.h>
#include <linux/obd_psdev.h>
#include <linux/presto_upcall.h>
#include <linux/vmalloc.h>
#include <asm/segment.h>
#include <linux/vmalloc.h>
#include <asm/segment.h>
-#include <../obd/linux/sym_obd.h>
+#include <../obd/linux/sim_obd.h>
#include <obdfs.h>
/* DEBUGGING! */
#include <obdfs.h>
/* DEBUGGING! */
#include <asm/uaccess.h>
#include <linux/utsname.h>
#include <asm/uaccess.h>
#include <linux/utsname.h>
-#include <linux/sym_obd.h>
+#include <linux/sim_obd.h>
#include <linux/presto.h>
#include <linux/obd_psdev.h>
#include <linux/presto_upcall.h>
#include <linux/presto.h>
#include <linux/obd_psdev.h>
#include <linux/presto_upcall.h>