Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75187
b: refs/heads/master
c: d172f4e
h: refs/heads/master
i:
  75185: 41b551e
  75183: cb90e30
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 23, 2007
1 parent 8c68ad6 commit 3999cc4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e5f114e97d6e4833e90ca408af9eb1e7a3262b5e
refs/heads/master: d172f4ef31bec924c6ebcb242c9d7d290811e1e5
10 changes: 10 additions & 0 deletions trunk/kernel/params.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,18 @@ static struct kset_uevent_ops module_uevent_ops = {
decl_subsys(module, &module_ktype, &module_uevent_ops);
int module_sysfs_initialized;

static void module_release(struct kobject *kobj)
{
/*
* Stupid empty release function to allow the memory for the kobject to
* be properly cleaned up. This will not need to be present for 2.6.25
* with the upcoming kobject core rework.
*/
}

static struct kobj_type module_ktype = {
.sysfs_ops = &module_sysfs_ops,
.release = module_release,
};

/*
Expand Down

0 comments on commit 3999cc4

Please sign in to comment.