Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262307
b: refs/heads/master
c: f7b9fcb
h: refs/heads/master
i:
  262305: 6eb001c
  262303: 65f75a7
v: v3
  • Loading branch information
Sergiu Iordache authored and Linus Torvalds committed Aug 4, 2011
1 parent b846f2a commit dd6f3ad
Show file tree
Hide file tree
Showing 2 changed files with 9 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: f2d34fd9435c7e60cb5189d036efe9abfc911862
refs/heads/master: f7b9fcbbc3b8593ff7dc587f90c2fe90a2fd1e6f
8 changes: 8 additions & 0 deletions trunk/drivers/char/ramoops.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ static int __init ramoops_probe(struct platform_device *pdev)
cxt->phys_addr = pdata->mem_address;
cxt->record_size = pdata->record_size;
cxt->dump_oops = pdata->dump_oops;
/*
* Update the module parameter variables as well so they are visible
* through /sys/module/ramoops/parameters/
*/
mem_size = pdata->mem_size;
mem_address = pdata->mem_address;
record_size = pdata->record_size;
dump_oops = pdata->dump_oops;

if (!request_mem_region(cxt->phys_addr, cxt->size, "ramoops")) {
pr_err("request mem region failed\n");
Expand Down

0 comments on commit dd6f3ad

Please sign in to comment.