Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357683
b: refs/heads/master
c: 93843b3
h: refs/heads/master
i:
  357681: 171f0b8
  357679: bd081fc
v: v3
  • Loading branch information
Sasha Levin authored and Rusty Russell committed Jan 21, 2013
1 parent 77491a0 commit 43b8092
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 373d4d099761cb1f637bed488ab3871945882273
refs/heads/master: 93843b3764170819aeb07fc867a0499b33a875ca
4 changes: 2 additions & 2 deletions trunk/include/linux/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,13 +396,13 @@ bool is_module_address(unsigned long addr);
bool is_module_percpu_address(unsigned long addr);
bool is_module_text_address(unsigned long addr);

static inline int within_module_core(unsigned long addr, struct module *mod)
static inline int within_module_core(unsigned long addr, const struct module *mod)
{
return (unsigned long)mod->module_core <= addr &&
addr < (unsigned long)mod->module_core + mod->core_size;
}

static inline int within_module_init(unsigned long addr, struct module *mod)
static inline int within_module_init(unsigned long addr, const struct module *mod)
{
return (unsigned long)mod->module_init <= addr &&
addr < (unsigned long)mod->module_init + mod->init_size;
Expand Down

0 comments on commit 43b8092

Please sign in to comment.