Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115873
b: refs/heads/master
c: 9f1b16a
h: refs/heads/master
i:
  115871: 31cfd7b
v: v3
  • Loading branch information
Shaohua Li authored and Linus Torvalds committed Oct 20, 2008
1 parent e3dc52b commit 9895c7d
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: 1125b4e3949949b44a7c80b619507c6f61d62911
refs/heads/master: 9f1b16a51ea7180eca8a0d76a6bd587385a30757
4 changes: 3 additions & 1 deletion trunk/drivers/base/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include <linux/memory_hotplug.h>
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/stat.h>

#include <asm/atomic.h>
#include <asm/uaccess.h>

Expand Down Expand Up @@ -325,7 +327,7 @@ memory_probe_store(struct class *class, const char *buf, size_t count)

return count;
}
static CLASS_ATTR(probe, 0700, NULL, memory_probe_store);
static CLASS_ATTR(probe, S_IWUSR, NULL, memory_probe_store);

static int memory_probe_init(void)
{
Expand Down

0 comments on commit 9895c7d

Please sign in to comment.