mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 01:48:52 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
Linux Kernel abolished include/linux/config.h long time ago. (around version v2.6.18..v2.6.19) We don't need to provide Linux copatibility any more. This commit deletes include/linux/config.h and fixes source files not to include this. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
29 lines
621 B
C
29 lines
621 B
C
/* page.h: Various defines and such for MMU operations on the Sparc for
|
|
* the Linux kernel.
|
|
*
|
|
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
|
|
* Copyright (C) 2007 Daniel Hellstrom (daniel@gaisler.com)
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _SPARC_PAGE_H
|
|
#define _SPARC_PAGE_H
|
|
|
|
#ifdef CONFIG_SUN4
|
|
#define PAGE_SHIFT 13
|
|
#else
|
|
#define PAGE_SHIFT 12
|
|
#endif
|
|
|
|
#ifndef __ASSEMBLY__
|
|
/* I have my suspicions... -DaveM */
|
|
#define PAGE_SIZE (1UL << PAGE_SHIFT)
|
|
#else
|
|
#define PAGE_SIZE (1 << PAGE_SHIFT)
|
|
#endif
|
|
|
|
#define PAGE_MASK (~(PAGE_SIZE-1))
|
|
|
|
#endif /* _SPARC_PAGE_H */
|