Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91491
b: refs/heads/master
c: a78bfbf
h: refs/heads/master
i:
  91489: a394b3d
  91487: 1065a9f
v: v3
  • Loading branch information
Robert Brose authored and Paul Mackerras committed Apr 1, 2008
1 parent c69f220 commit 8fbbd06
Show file tree
Hide file tree
Showing 3 changed files with 15 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: b163a256dac8ceb01d40bebe25c315768cf1877b
refs/heads/master: a78bfbfcfaca64e6198f164c43a60afc8a50e2c6
2 changes: 2 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,8 @@ and is between 256 and 4096 characters. It is defined in the file

l2cr= [PPC]

l3cr= [PPC]

lapic [X86-32,APIC] Enable the local APIC even if BIOS
disabled it.

Expand Down
12 changes: 12 additions & 0 deletions trunk/arch/powerpc/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,18 @@ int __init ppc_setup_l2cr(char *str)
}
__setup("l2cr=", ppc_setup_l2cr);

/* Checks "l3cr=xxxx" command-line option */
int __init ppc_setup_l3cr(char *str)
{
if (cpu_has_feature(CPU_FTR_L3CR)) {
unsigned long val = simple_strtoul(str, NULL, 0);
printk(KERN_INFO "l3cr set to %lx\n", val);
_set_L3CR(val); /* and enable it */
}
return 1;
}
__setup("l3cr=", ppc_setup_l3cr);

#ifdef CONFIG_GENERIC_NVRAM

/* Generic nvram hooks used by drivers/char/gen_nvram.c */
Expand Down

0 comments on commit 8fbbd06

Please sign in to comment.