Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330038
b: refs/heads/master
c: 75fdd15
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Oct 5, 2012
1 parent 769854e commit 3604dd6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: 666e81fdca5486cad644ee3fb64bb7d83e2f3723
refs/heads/master: 75fdd155eaf755aa183ca9844a9a178b7a0e3959
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ extern struct apic *apic;
* to enforce the order with in them.
*/
#define apic_driver(sym) \
static struct apic *__apicdrivers_##sym __used \
static const struct apic *__apicdrivers_##sym __used \
__aligned(sizeof(struct apic *)) \
__section(.apicdrivers) = { &sym }

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/apic/apic_numachip.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

static int numachip_system __read_mostly;

static struct apic apic_numachip __read_mostly;
static const struct apic apic_numachip __read_mostly;

static unsigned int get_apic_id(unsigned long x)
{
Expand Down Expand Up @@ -199,7 +199,7 @@ static int numachip_acpi_madt_oem_check(char *oem_id, char *oem_table_id)
return 0;
}

static struct apic apic_numachip __refconst = {
static const struct apic apic_numachip __refconst = {

.name = "NumaConnect system",
.probe = numachip_probe,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static struct platform_device rtc_device = {
static __init int add_rtc_cmos(void)
{
#ifdef CONFIG_PNP
static const char *ids[] __initconst =
static const char * const const ids[] __initconst =
{ "PNP0b00", "PNP0b01", "PNP0b02", };
struct pnp_dev *dev;
struct pnp_id *id;
Expand Down

0 comments on commit 3604dd6

Please sign in to comment.