Re: [SSI] Re: SSI 0.7.0 install problems (make bzImage)
Brought to you by:
brucewalker,
rogertsang
From: Sadanand K. <sa...@ci...> - 2002-08-13 03:46:56
|
Hi, I am little confused about where to change because I could perform only the first change you mentioned for proc_cluster.c as I could not find similar lines in other functions to make the changes. It would be great if you can send me the files. Thanks, Sadanand On 12 Aug 2002, Aneesh Kumar K.V wrote: > Hi, > > The build happened perfectly fine. Right now I don't have i386 machine > where i can test it.So one may need to test any issues with booting. > > I put one more function under #ifdef . So sending the final diff. > > -aneesh > > --- proc_cluster.c.old Wed Aug 14 11:15:36 2002 > +++ proc_cluster.c Wed Aug 14 11:14:55 2002 > @@ -20,6 +20,7 @@ > > #define MAX(x,y) ((x) > (y) ? (x) : (y)) > > +#ifdef CONFIG_LDLVL > static int > proc_node_read_load(char *page, char **start, off_t off, > int count, int *eof, void *data) > @@ -39,6 +40,7 @@ > #endif > return proc_calc_metrics(page, start, off, count, eof, len); > } > +#endif > > int > proc_cluster_readdir(struct file * filp, void * dirent, filldir_t filldir) > @@ -128,6 +130,7 @@ > > > > +#ifdef CONFIG_LDLVL > static ssize_t > loadlevel_read_proc(struct file * file, const char * buf, > size_t count, loff_t *ppos) > @@ -208,6 +211,7 @@ > read: loadlevel_read_proc, > write: loadlevel_write_proc, > }; > +#endif > > void > proc_cluster_node_init(void) > @@ -270,6 +274,7 @@ > if (ptr == NULL) { > nodedir = proc_mkdir(nodename, proc_cluster); > nodedir->data = (void *)node; > +#ifdef CONFIG_LDLVL > create_proc_read_entry("load", > S_IFREG|S_IRUSR|S_IWUSR, > nodedir, > @@ -283,6 +288,7 @@ > node_entry->proc_fops = &proc_loadlevel_operations; > node_entry->data = (void *)node; > } > +#endif > } > node = NSC_NODELIST_GET_NEXT(&cookie,nodelist); > } > > > > > > > --- loadlevel.c.old Wed Aug 14 11:15:48 2002 > +++ loadlevel.c Wed Aug 14 11:15:16 2002 > @@ -41,12 +41,12 @@ > struct inclusion_list *loadlevel_table; > > extern clusternode_t clms_master_node; > +int loadlevel_on; > > #ifdef CONFIG_MOSIX_LL > extern struct loadinfo loadinfo[]; > extern int calc_speed(int); > int im_ready; > -int loadlevel_on; > #else > load_array_t loadinfo[NSC_MAX_NODE_VALUE + 1]; > #endif /* CONFIG_MOSIX_LL */ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > ssic-linux-devel mailing list > ssi...@li... > https://lists.sourceforge.net/lists/listinfo/ssic-linux-devel > |