#include <asm/div64.h>
#include "tracefile.h"
-static struct ctl_table_header *lnet_table_header = NULL;
+static cfs_sysctl_table_header_t *lnet_table_header = NULL;
extern char lnet_upcall[1024];
#define PSDEV_LNET (0x100)
int LL_PROC_PROTO(proc_dobitmasks);
-static struct ctl_table lnet_table[] = {
+static cfs_sysctl_table_t lnet_table[] = {
{
.ctl_name = PSDEV_DEBUG,
.procname = "debug",
{0}
};
-static struct ctl_table top_table[2] = {
+static cfs_sysctl_table_t top_table[2] = {
{
.ctl_name = PSDEV_LNET,
.procname = "lnet",
* and proc_dostring into doing the drudgery by cheating
* with a dummy ctl_table
*/
- struct ctl_table dummy = *table;
+ cfs_sysctl_table_t dummy = *table;
unsigned int *mask = (unsigned int *)table->data;
int is_subsys = (mask == &libcfs_subsystem_debug) ? 1 : 0;
- str = kmalloc(tmpstrlen, GFP_USER);
+ str = kmalloc(tmpstrlen, GFP_USER);
if (str == NULL)
return -ENOMEM;