Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231290
b: refs/heads/master
c: 22eeb8f
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Holler authored and Russell King committed Jan 12, 2011
1 parent 0ec77b7 commit 8f3c21a
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 6cde6d4217ff01422c093d3f7ff550b7a324e96e
refs/heads/master: 22eeb8f6e0214a83ac6958a29a83572137f174bb
6 changes: 4 additions & 2 deletions trunk/arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,15 +650,17 @@ static int __init parse_tag_revision(const struct tag *tag)

__tagtable(ATAG_REVISION, parse_tag_revision);

#ifndef CONFIG_CMDLINE_FORCE
static int __init parse_tag_cmdline(const struct tag *tag)
{
#ifndef CONFIG_CMDLINE_FORCE
strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
#else
pr_warning("Ignoring tag cmdline (using the default kernel command line)\n");
#endif /* CONFIG_CMDLINE_FORCE */
return 0;
}

__tagtable(ATAG_CMDLINE, parse_tag_cmdline);
#endif /* CONFIG_CMDLINE_FORCE */

/*
* Scan the tag table for this tag, and call its parse function.
Expand Down

0 comments on commit 8f3c21a

Please sign in to comment.