You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/ixp4xx/files/2.1/40-yvasilev-oslinux.patch

21 lines
689 B

--- ixp400_xscale_sw/src/oslinux/IxLinuxInit.c
+++ ixp400_xscale_sw/src/oslinux/IxLinuxInit.c
@@ -160,7 +160,7 @@ int ixNpe_dev_open (struct inode *inode,
return -EEXIST;
}
- MOD_INC_USE_COUNT; /* Increment use count to prevent premature rmmod-ing */
+ /* MOD_INC_USE_COUNT; */ /* Increment use count to prevent premature rmmod-ing */
ixNpeDlSegmentedListHead = NULL; /* Reset linked list which keeps track of Microcode fragments */
ixNpeDlSegmentedListTail = NULL;
ixNpeDlTotalBytesReadIn = 0;
@@ -225,7 +225,7 @@ int ixNpe_dev_release (struct inode *ino
kfree (temp);
}
- MOD_DEC_USE_COUNT;
+ /* MOD_DEC_USE_COUNT; */
return 0;
}