forked from Minki/linux
002547b4f8
Majorily based on Hyok Choi's patches, this fixes up the asm-arm header files for mmuless systems. Over and above Hyok's patches: - nommu.h merged into mmu.h (it's only a structure) - nommu_context.h is essentially the same as mmu_context.h, but without the MM switching code. so there's no point having separate files. Also, in memory.h, there's no point #ifndef'ing PHYS_OFFSET and END_MEM - both CONFIG_DRAM_BASE and CONFIG_DRAM_SIZE will always be set by the configuration scripts. Other files have minor formatting changes, but are essentially the same. Hyok's original patches were signed off thusly: Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
22 lines
483 B
C
22 lines
483 B
C
/*
|
|
* linux/include/asm-arm/bugs.h
|
|
*
|
|
* Copyright (C) 1995-2003 Russell King
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef __ASM_BUGS_H
|
|
#define __ASM_BUGS_H
|
|
|
|
#ifdef CONFIG_MMU
|
|
extern void check_writebuffer_bugs(void);
|
|
|
|
#define check_bugs() check_writebuffer_bugs()
|
|
#else
|
|
#define check_bugs() do { } while (0)
|
|
#endif
|
|
|
|
#endif
|