Commit e919a120 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS v32: Change name for simulator config in asm-cris/arch-v32/page.h

Also, fix a typo.
parent d9ebcace
......@@ -7,11 +7,11 @@
#define PAGE_OFFSET KSEG_C /* kseg_c is mapped to physical ram. */
/*
* Macros to convert between physical and virtual addresses. By stripiing a
* Macros to convert between physical and virtual addresses. By stripping a
* selected bit it's possible to convert between KSEG_x and 0x40000000 where the
* DRAM really resides. DRAM is virtually at 0xc.
*/
#ifndef CONFIG_ETRAXFS_SIM
#ifndef CONFIG_ETRAX_VCS_SIM
#define __pa(x) ((unsigned long)(x) & 0x7fffffff)
#define __va(x) ((void *)((unsigned long)(x) | 0x80000000))
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment