Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67295
b: refs/heads/master
c: 6bcc4c0
h: refs/heads/master
i:
  67293: 9c73a71
  67291: 3240c76
  67287: 5dc43a9
  67279: 351be3f
  67263: 3fd887b
v: v3
  • Loading branch information
Olof Johansson authored and Paul Mackerras committed Sep 13, 2007
1 parent da9d739 commit 4267760
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a416561bf790d55db68b2980c2a6951981018041
refs/heads/master: 6bcc4c01755fd2066bc374193cf3b0849cbabe47
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/kernel/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,14 @@ int cpu_add_sysdev_attr_group(struct attribute_group *attrs)
{
int cpu;
struct sys_device *sysdev;
int ret;

mutex_lock(&cpu_mutex);

for_each_possible_cpu(cpu) {
sysdev = get_cpu_sysdev(cpu);
sysfs_create_group(&sysdev->kobj, attrs);
ret = sysfs_create_group(&sysdev->kobj, attrs);
WARN_ON(ret != 0);
}

mutex_unlock(&cpu_mutex);
Expand Down

0 comments on commit 4267760

Please sign in to comment.