Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231881
b: refs/heads/master
c: 1befdd5
h: refs/heads/master
i:
  231879: a3546d6
v: v3
  • Loading branch information
David Daney authored and Ralf Baechle committed Jan 18, 2011
1 parent fb93fcf commit 6e271e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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: f5b35d0b16a08e6c1e7c8a41fa87ad10cf9aefa4
refs/heads/master: 1befdd5536e1500371f7f884d0f0ae528a519333
2 changes: 2 additions & 0 deletions trunk/arch/mips/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
#define SMP_CACHE_SHIFT L1_CACHE_SHIFT
#define SMP_CACHE_BYTES L1_CACHE_BYTES

#define __read_mostly __attribute__((__section__(".data.read_mostly")))

#endif /* _ASM_CACHE_H */
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static char __initdata builtin_cmdline[COMMAND_LINE_SIZE] = CONFIG_CMDLINE;
* mips_io_port_base is the begin of the address space to which x86 style
* I/O ports are mapped.
*/
const unsigned long mips_io_port_base __read_mostly = -1;
const unsigned long mips_io_port_base = -1;
EXPORT_SYMBOL(mips_io_port_base);

static struct resource code_resource = { .name = "Kernel code", };
Expand Down

0 comments on commit 6e271e2

Please sign in to comment.