Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260380
b: refs/heads/master
c: 565b60d
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Cernekee authored and Ralf Baechle committed Jul 25, 2011
1 parent 962a5fd commit 2b91246
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 10 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: d0023c4a0af1ff16fe183257682025bfcc068e85
refs/heads/master: 565b60de325070ccc54b18346a1238d4fae17954
10 changes: 1 addition & 9 deletions trunk/arch/mips/include/asm/fixmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#define _ASM_FIXMAP_H

#include <asm/page.h>
#include <spaces.h>
#ifdef CONFIG_HIGHMEM
#include <linux/threads.h>
#include <asm/kmap_types.h>
Expand Down Expand Up @@ -67,15 +68,6 @@ enum fixed_addresses {
* the start of the fixmap, and leave one page empty
* at the top of mem..
*/
#ifdef CONFIG_BCM63XX
#define FIXADDR_TOP ((unsigned long)(long)(int)0xff000000)
#else
#if defined(CONFIG_CPU_TX39XX) || defined(CONFIG_CPU_TX49XX)
#define FIXADDR_TOP ((unsigned long)(long)(int)(0xff000000 - 0x20000))
#else
#define FIXADDR_TOP ((unsigned long)(long)(int)0xfffe0000)
#endif
#endif
#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)
#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE)

Expand Down
17 changes: 17 additions & 0 deletions trunk/arch/mips/include/asm/mach-bcm63xx/spaces.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle
* Copyright (C) 2000, 2002 Maciej W. Rozycki
* Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc.
*/
#ifndef _ASM_BCM63XX_SPACES_H
#define _ASM_BCM63XX_SPACES_H

#define FIXADDR_TOP ((unsigned long)(long)(int)0xff000000)

#include <asm/mach-generic/spaces.h>

#endif /* __ASM_BCM63XX_SPACES_H */
4 changes: 4 additions & 0 deletions trunk/arch/mips/include/asm/mach-generic/spaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,8 @@
#define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
#endif

#ifndef FIXADDR_TOP
#define FIXADDR_TOP ((unsigned long)(long)(int)0xfffe0000)
#endif

#endif /* __ASM_MACH_GENERIC_SPACES_H */
17 changes: 17 additions & 0 deletions trunk/arch/mips/include/asm/mach-tx39xx/spaces.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle
* Copyright (C) 2000, 2002 Maciej W. Rozycki
* Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc.
*/
#ifndef _ASM_TX39XX_SPACES_H
#define _ASM_TX39XX_SPACES_H

#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000)

#include <asm/mach-generic/spaces.h>

#endif /* __ASM_TX39XX_SPACES_H */
17 changes: 17 additions & 0 deletions trunk/arch/mips/include/asm/mach-tx49xx/spaces.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle
* Copyright (C) 2000, 2002 Maciej W. Rozycki
* Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc.
*/
#ifndef _ASM_TX49XX_SPACES_H
#define _ASM_TX49XX_SPACES_H

#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000)

#include <asm/mach-generic/spaces.h>

#endif /* __ASM_TX49XX_SPACES_H */

0 comments on commit 2b91246

Please sign in to comment.