Commit fabb626a authored by Hirokazu Takata's avatar Hirokazu Takata Committed by Linus Torvalds

[PATCH] m32r: cosmetic updates and trivial fixes

Cosmetic updates and trivial fixes of m32r arch-dependent files.
- Remove RCS ID strings and trailing white lines
- Other misc. cosmetic updates
Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3d60f849
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
* Hitoshi Yamamoto * Hitoshi Yamamoto
*/ */
/* $Id$ */
#include <linux/init.h> #include <linux/init.h>
__INIT __INIT
__INITDATA __INITDATA
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
* Copyright (C) 2001,2002 Hiroyuki Kondo, and Hirokazu Takata * Copyright (C) 2001,2002 Hiroyuki Kondo, and Hirokazu Takata
* *
*/ */
/* $Id$ */
; ;
; input (r0,r1) src ; input (r0,r1) src
...@@ -293,4 +291,3 @@ __lshrdi3: ...@@ -293,4 +291,3 @@ __lshrdi3:
#endif /* not CONFIG_ISA_DUAL_ISSUE */ #endif /* not CONFIG_ISA_DUAL_ISSUE */
.end .end
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
* as published by the Free Software Foundation; either version * as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version. * 2 of the License, or (at your option) any later version.
*/ */
/* $Id$ */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
...@@ -319,3 +317,4 @@ ENTRY(csum_partial_copy_generic) ...@@ -319,3 +317,4 @@ ENTRY(csum_partial_copy_generic)
nop nop
nop nop
.end
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
* Copyright (c) 2004 Hirokazu Takata * Copyright (c) 2004 Hirokazu Takata
*/ */
/* $Id$ */
#include <linux/param.h> #include <linux/param.h>
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#include <linux/sched.h> #include <linux/sched.h>
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
* src: r1 * src: r1
* n : r2 * n : r2
*/ */
/* $Id$ */
.text .text
#include <linux/linkage.h> #include <linux/linkage.h>
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
* ret: r0 * ret: r0
* *
*/ */
/* $Id$ */
.text .text
.global memset .global memset
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
* size_t strlen(const char *s); * size_t strlen(const char *s);
* *
*/ */
/* $Id$ */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
* Copyright (C) 1995 Linus Torvalds * Copyright (C) 1995 Linus Torvalds
*/ */
/* $Id: fault-nommu.c,v 1.1 2004/03/30 06:40:59 sakugawa Exp $ */
#include <linux/signal.h> #include <linux/signal.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -67,7 +65,7 @@ void bust_spinlocks(int yes) ...@@ -67,7 +65,7 @@ void bust_spinlocks(int yes)
* without oops_in_progress set so that printk will give klogd * without oops_in_progress set so that printk will give klogd
* a poke. Hold onto your hats... * a poke. Hold onto your hats...
*/ */
console_loglevel = 15; /* NMI oopser may have shut the console up */ console_loglevel = 15; /* NMI oopser may have shut the console up */
printk(" "); printk(" ");
console_loglevel = loglevel_save; console_loglevel = loglevel_save;
} }
...@@ -161,4 +159,3 @@ void local_flush_tlb_all(void) ...@@ -161,4 +159,3 @@ void local_flush_tlb_all(void)
{ {
BUG(); BUG();
} }
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
* Copyright (C) 2001 by Hiroyuki Kondo * Copyright (C) 2001 by Hiroyuki Kondo
*/ */
/* $Id: mmu.S,v 1.15 2004/03/16 02:56:27 takata Exp $ */
#include <linux/linkage.h> #include <linux/linkage.h>
#include <asm/assembler.h> #include <asm/assembler.h>
#include <asm/smp.h> #include <asm/smp.h>
...@@ -345,5 +343,4 @@ ENTRY(m32r_otlb_entrys) ...@@ -345,5 +343,4 @@ ENTRY(m32r_otlb_entrys)
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */
.end .end
#ifndef _ASM_M32R_A_OUT_H #ifndef _ASM_M32R_A_OUT_H
#define _ASM_M32R_A_OUT_H #define _ASM_M32R_A_OUT_H
/* orig : i386 2.4.18 */
struct exec struct exec
{ {
unsigned long a_info; /* Use macros N_MAGIC, etc for access */ unsigned long a_info; /* Use macros N_MAGIC, etc for access */
......
/* $Id$ */
/* /*
* This file is subject to the terms and conditions of the GNU General Public * 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 * License. See the file "COPYING" in the main directory of this archive
......
#ifndef _ASM_M32R_BUGS_H #ifndef _ASM_M32R_BUGS_H
#define _ASM_M32R_BUGS_H #define _ASM_M32R_BUGS_H
/* $Id$ */
/* /*
* This is included by init/main.c to check for architecture-dependent bugs. * This is included by init/main.c to check for architecture-dependent bugs.
* *
......
#ifndef _ASM_M32R_BYTEORDER_H #ifndef _ASM_M32R_BYTEORDER_H
#define _ASM_M32R_BYTEORDER_H #define _ASM_M32R_BYTEORDER_H
/* $Id$ */
#include <asm/types.h> #include <asm/types.h>
#if !defined(__STRICT_ANSI__) || defined(__KERNEL__) #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
......
#ifndef _ASM_M32R_CACHE_H #ifndef _ASM_M32R_CACHE_H
#define _ASM_M32R_CACHE_H #define _ASM_M32R_CACHE_H
/* $Id$ */
/* L1 cache line size */ /* L1 cache line size */
#define L1_CACHE_SHIFT 4 #define L1_CACHE_SHIFT 4
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
......
...@@ -67,4 +67,3 @@ do { \ ...@@ -67,4 +67,3 @@ do { \
memcpy(dst, src, len) memcpy(dst, src, len)
#endif /* _ASM_M32R_CACHEFLUSH_H */ #endif /* _ASM_M32R_CACHEFLUSH_H */
#ifndef _ASM_M32R_CURRENT_H #ifndef _ASM_M32R_CURRENT_H
#define _ASM_M32R_CURRENT_H #define _ASM_M32R_CURRENT_H
/* $Id$ */
#include <linux/thread_info.h> #include <linux/thread_info.h>
struct task_struct; struct task_struct;
...@@ -15,4 +13,3 @@ static __inline__ struct task_struct *get_current(void) ...@@ -15,4 +13,3 @@ static __inline__ struct task_struct *get_current(void)
#define current (get_current()) #define current (get_current())
#endif /* _ASM_M32R_CURRENT_H */ #endif /* _ASM_M32R_CURRENT_H */
#ifndef _ASM_M32R_DELAY_H #ifndef _ASM_M32R_DELAY_H
#define _ASM_M32R_DELAY_H #define _ASM_M32R_DELAY_H
/* $Id$ */
/* /*
* Copyright (C) 1993 Linus Torvalds * Copyright (C) 1993 Linus Torvalds
* *
......
#ifndef _ASM_M32R_DMA_H #ifndef _ASM_M32R_DMA_H
#define _ASM_M32R_DMA_H #define _ASM_M32R_DMA_H
/* $Id$ */
#include <asm/io.h> #include <asm/io.h>
/* /*
......
#ifndef _ASM_M32R_ERRNO_H #ifndef _ASM_M32R_ERRNO_H
#define _ASM_M32R_ERRNO_H #define _ASM_M32R_ERRNO_H
/* $Id$ */
#include <asm-generic/errno.h> #include <asm-generic/errno.h>
#endif /* _ASM_M32R_ERRNO_H */ #endif /* _ASM_M32R_ERRNO_H */
#ifndef _ASM_M32R_IDE_H #ifndef _ASM_M32R_IDE_H
#define _ASM_M32R_IDE_H #define _ASM_M32R_IDE_H
/* $Id$ */
/* /*
* linux/include/asm-m32r/ide.h * linux/include/asm-m32r/ide.h
* *
...@@ -15,6 +13,7 @@ ...@@ -15,6 +13,7 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/m32r.h>
#ifndef MAX_HWIFS #ifndef MAX_HWIFS
# ifdef CONFIG_BLK_DEV_IDEPCI # ifdef CONFIG_BLK_DEV_IDEPCI
...@@ -24,9 +23,6 @@ ...@@ -24,9 +23,6 @@
# endif # endif
#endif #endif
#include <asm/m32r.h>
#define IDE_ARCH_OBSOLETE_DEFAULTS #define IDE_ARCH_OBSOLETE_DEFAULTS
static __inline__ int ide_default_irq(unsigned long base) static __inline__ int ide_default_irq(unsigned long base)
......
#ifndef __ARCH_M32R_IOCTLS_H__ #ifndef __ARCH_M32R_IOCTLS_H__
#define __ARCH_M32R_IOCTLS_H__ #define __ARCH_M32R_IOCTLS_H__
/* $Id$ */
/* orig : i386 2.5.67 */
#include <asm/ioctl.h> #include <asm/ioctl.h>
/* 0x54 is just a magic number to make these relatively unique ('T') */ /* 0x54 is just a magic number to make these relatively unique ('T') */
...@@ -85,4 +81,3 @@ ...@@ -85,4 +81,3 @@
#define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */
#endif /* __ARCH_M32R_IOCTLS_H__ */ #endif /* __ARCH_M32R_IOCTLS_H__ */
#ifndef _ASM_M32R_IPCBUF_H #ifndef _ASM_M32R_IPCBUF_H
#define _ASM_M32R_IPCBUF_H #define _ASM_M32R_IPCBUF_H
/* $Id$ */
/* orig : i386 2.4.18 */
/* /*
* The ipc64_perm structure for m32r architecture. * The ipc64_perm structure for m32r architecture.
* Note extra padding because this structure is passed back and forth * Note extra padding because this structure is passed back and forth
......
#ifndef __M32R_KMAP_TYPES_H #ifndef __M32R_KMAP_TYPES_H
#define __M32R_KMAP_TYPES_H #define __M32R_KMAP_TYPES_H
/* Dummy header just to define km_type. */
#ifdef CONFIG_DEBUG_HIGHMEM #ifdef CONFIG_DEBUG_HIGHMEM
# define D(n) __KM_FENCE_##n , # define D(n) __KM_FENCE_##n ,
#else #else
...@@ -30,4 +27,3 @@ D(13) KM_TYPE_NR ...@@ -30,4 +27,3 @@ D(13) KM_TYPE_NR
#undef D #undef D
#endif /* __M32R_KMAP_TYPES_H */ #endif /* __M32R_KMAP_TYPES_H */
#ifndef _M32104UT_M32104UT_PLD_H
#define _M32104UT_M32104UT_PLD_H
/* /*
* include/asm-m32r/m32104ut/m32104ut_pld.h * include/asm-m32r/m32104ut/m32104ut_pld.h
* *
...@@ -12,10 +15,6 @@ ...@@ -12,10 +15,6 @@
* this archive for more details. * this archive for more details.
*/ */
#ifndef _M32104UT_M32104UT_PLD_H
#define _M32104UT_M32104UT_PLD_H
#if defined(CONFIG_PLAT_M32104UT) #if defined(CONFIG_PLAT_M32104UT)
#define PLD_PLAT_BASE 0x02c00000 #define PLD_PLAT_BASE 0x02c00000
#else #else
...@@ -35,7 +34,7 @@ ...@@ -35,7 +34,7 @@
#define __reg8 #define __reg8
#define __reg16 #define __reg16
#define __reg32 #define __reg32
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* CFC */ /* CFC */
#define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
...@@ -159,4 +158,4 @@ ...@@ -159,4 +158,4 @@
#define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
#define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)
#endif /* _M32104UT_M32104UT_PLD_H */ #endif /* _M32104UT_M32104UT_PLD_H */
#ifndef _M32700UT_M32700UT_LAN_H
#define _M32700UT_M32700UT_LAN_H
/* /*
* include/asm-m32r/m32700ut/m32700ut_lan.h * include/asm-m32r/m32700ut/m32700ut_lan.h
* *
...@@ -8,14 +11,8 @@ ...@@ -8,14 +11,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
* $Id$
*/ */
#ifndef _M32700UT_M32700UT_LAN_H
#define _M32700UT_M32700UT_LAN_H
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* /*
* C functions use non-cache address. * C functions use non-cache address.
...@@ -23,7 +20,7 @@ ...@@ -23,7 +20,7 @@
#define M32700UT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */) #define M32700UT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */)
#else #else
#define M32700UT_LAN_BASE (0x10000000 + NONCACHE_OFFSET) #define M32700UT_LAN_BASE (0x10000000 + NONCACHE_OFFSET)
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* ICU /* ICU
* ICUISTS: status register * ICUISTS: status register
...@@ -103,4 +100,4 @@ ...@@ -103,4 +100,4 @@
#define PLDI2CSTS_BB 0x00000010 #define PLDI2CSTS_BB 0x00000010
#define PLDI2CSTS_NOACK 0x00000001 /* 0:ack, 1:noack */ #define PLDI2CSTS_NOACK 0x00000001 /* 0:ack, 1:noack */
#endif /* _M32700UT_M32700UT_LAN_H */ #endif /* _M32700UT_M32700UT_LAN_H */
#ifndef _M32700UT_M32700UT_LCD_H
#define _M32700UT_M32700UT_LCD_H
/* /*
* include/asm-m32r/m32700ut/m32700ut_lcd.h * include/asm-m32r/m32700ut/m32700ut_lcd.h
* *
...@@ -8,14 +11,8 @@ ...@@ -8,14 +11,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
* $Id$
*/ */
#ifndef _M32700UT_M32700UT_LCD_H
#define _M32700UT_M32700UT_LCD_H
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* /*
* C functions use non-cache address. * C functions use non-cache address.
...@@ -23,7 +20,7 @@ ...@@ -23,7 +20,7 @@
#define M32700UT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */) #define M32700UT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */)
#else #else
#define M32700UT_LCD_BASE (0x10000000 + NONCACHE_OFFSET) #define M32700UT_LCD_BASE (0x10000000 + NONCACHE_OFFSET)
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* /*
* ICU * ICU
...@@ -55,4 +52,4 @@ ...@@ -55,4 +52,4 @@
#define M32700UT_LCD_ICUCR19 __reg16(M32700UT_LCD_BASE + 0x300036) #define M32700UT_LCD_ICUCR19 __reg16(M32700UT_LCD_BASE + 0x300036)
#define M32700UT_LCD_ICUCR21 __reg16(M32700UT_LCD_BASE + 0x30003a) #define M32700UT_LCD_ICUCR21 __reg16(M32700UT_LCD_BASE + 0x30003a)
#endif /* _M32700UT_M32700UT_LCD_H */ #endif /* _M32700UT_M32700UT_LCD_H */
#ifndef _M32700UT_M32700UT_PLD_H
#define _M32700UT_M32700UT_PLD_H
/* /*
* include/asm-m32r/m32700ut/m32700ut_pld.h * include/asm-m32r/m32700ut/m32700ut_pld.h
* *
...@@ -8,14 +11,8 @@ ...@@ -8,14 +11,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
* $Id$
*/ */
#ifndef _M32700UT_M32700UT_PLD_H
#define _M32700UT_M32700UT_PLD_H
#if defined(CONFIG_PLAT_M32700UT_Alpha) #if defined(CONFIG_PLAT_M32700UT_Alpha)
#define PLD_PLAT_BASE 0x08c00000 #define PLD_PLAT_BASE 0x08c00000
#elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV) #elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV)
...@@ -37,7 +34,7 @@ ...@@ -37,7 +34,7 @@
#define __reg8 #define __reg8
#define __reg16 #define __reg16
#define __reg32 #define __reg32
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* CFC */ /* CFC */
#define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
...@@ -261,4 +258,4 @@ ...@@ -261,4 +258,4 @@
#define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
#define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)
#endif /* _M32700UT_M32700UT_PLD.H */ #endif /* _M32700UT_M32700UT_PLD.H */
#ifndef _MAPPI2_PLD_H
#define _MAPPI2_PLD_H
/* /*
* include/asm-m32r/mappi2/mappi2_pld.h * include/asm-m32r/mappi2/mappi2_pld.h
* *
* Definitions for Extended IO Logic on MAPPI2 board. * Definitions for Extended IO Logic on MAPPI2 board.
* based on m32700ut_pld.h by * based on m32700ut_pld.h
* *
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
*/ */
#ifndef _MAPPI2_PLD_H
#define _MAPPI2_PLD_H
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* FIXME: /* FIXME:
* Some C functions use non-cache address, so can't define non-cache address. * Some C functions use non-cache address, so can't define non-cache address.
...@@ -26,7 +25,7 @@ ...@@ -26,7 +25,7 @@
#define __reg8 #define __reg8
#define __reg16 #define __reg16
#define __reg32 #define __reg32
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* CFC */ /* CFC */
#define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
...@@ -148,4 +147,4 @@ ...@@ -148,4 +147,4 @@
#endif #endif
#endif /* _MAPPI2_PLD.H */ #endif /* _MAPPI2_PLD.H */
#ifndef _MAPPI3_PLD_H
#define _MAPPI3_PLD_H
/* /*
* include/asm-m32r/mappi3/mappi3_pld.h * include/asm-m32r/mappi3/mappi3_pld.h
* *
...@@ -7,12 +10,8 @@ ...@@ -7,12 +10,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
*/ */
#ifndef _MAPPI3_PLD_H
#define _MAPPI3_PLD_H
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* FIXME: /* FIXME:
* Some C functions use non-cache address, so can't define non-cache address. * Some C functions use non-cache address, so can't define non-cache address.
...@@ -26,7 +25,7 @@ ...@@ -26,7 +25,7 @@
#define __reg8 #define __reg8
#define __reg16 #define __reg16
#define __reg32 #define __reg32
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* CFC */ /* CFC */
#define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
...@@ -140,4 +139,4 @@ ...@@ -140,4 +139,4 @@
/* Reset Control */ /* Reset Control */
#define PLD_REBOOT __reg16(PLD_BASE + 0x38000) #define PLD_REBOOT __reg16(PLD_BASE + 0x38000)
#endif /* _MAPPI3_PLD.H */ #endif /* _MAPPI3_PLD.H */
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <asm/io.h> #include <asm/io.h>
#ifndef RTC_PORT #ifndef RTC_PORT
// #define RTC_PORT(x) (0x70 + (x))
#define RTC_PORT(x) ((x)) #define RTC_PORT(x) ((x))
#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ #define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
#endif #endif
...@@ -26,7 +25,5 @@ outb_p((val),RTC_PORT(1)); \ ...@@ -26,7 +25,5 @@ outb_p((val),RTC_PORT(1)); \
}) })
#define RTC_IRQ 8 #define RTC_IRQ 8
#if 0
#endif
#endif /* _ASM_MC146818RTC_H */ #endif /* _ASM_MC146818RTC_H */
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
#include <asm-generic/mman.h> #include <asm-generic/mman.h>
/* orig : i386 2.6.0-test6 */
#define MAP_GROWSDOWN 0x0100 /* stack-like segment */ #define MAP_GROWSDOWN 0x0100 /* stack-like segment */
#define MAP_DENYWRITE 0x0800 /* ETXTBSY */ #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
#define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
......
#ifndef _ASM_M32R_MMU_H #ifndef _ASM_M32R_MMU_H
#define _ASM_M32R_MMU_H #define _ASM_M32R_MMU_H
#if !defined(CONFIG_MMU) #if !defined(CONFIG_MMU)
typedef struct { typedef struct {
struct vm_list_struct *vmlist; struct vm_list_struct *vmlist;
unsigned long end_brk; unsigned long end_brk;
} mm_context_t; } mm_context_t;
#else
#else /* CONFIG_MMU */
/* Default "unsigned long" context */ /* Default "unsigned long" context */
#ifndef CONFIG_SMP #ifndef CONFIG_SMP
...@@ -16,5 +17,6 @@ typedef unsigned long mm_context_t; ...@@ -16,5 +17,6 @@ typedef unsigned long mm_context_t;
typedef unsigned long mm_context_t[NR_CPUS]; typedef unsigned long mm_context_t[NR_CPUS];
#endif #endif
#endif /* CONFIG_MMU */ #endif /* CONFIG_MMU */
#endif /* _ASM_M32R_MMU_H */
#endif /* _ASM_M32R_MMU_H */
#ifndef _ASM_M32R_MMU_CONTEXT_H #ifndef _ASM_M32R_MMU_CONTEXT_H
#define _ASM_M32R_MMU_CONTEXT_H #define _ASM_M32R_MMU_CONTEXT_H
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <asm/m32r.h> #include <asm/m32r.h>
#define MMU_CONTEXT_ASID_MASK (0x000000FF) #define MMU_CONTEXT_ASID_MASK (0x000000FF)
...@@ -11,7 +9,6 @@ ...@@ -11,7 +9,6 @@
#define MMU_CONTEXT_FIRST_VERSION (0x00000100) #define MMU_CONTEXT_FIRST_VERSION (0x00000100)
#define NO_CONTEXT (0x00000000) #define NO_CONTEXT (0x00000000)
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <asm/atomic.h> #include <asm/atomic.h>
...@@ -147,7 +144,7 @@ static inline void switch_mm(struct mm_struct *prev, ...@@ -147,7 +144,7 @@ static inline void switch_mm(struct mm_struct *prev,
#define activate_mm(prev, next) \ #define activate_mm(prev, next) \
switch_mm((prev), (next), NULL) switch_mm((prev), (next), NULL)
#else #else /* not CONFIG_MMU */
#define get_mmu_context(mm) do { } while (0) #define get_mmu_context(mm) do { } while (0)
#define init_new_context(tsk,mm) (0) #define init_new_context(tsk,mm) (0)
#define destroy_context(mm) do { } while (0) #define destroy_context(mm) do { } while (0)
...@@ -158,11 +155,9 @@ static inline void switch_mm(struct mm_struct *prev, ...@@ -158,11 +155,9 @@ static inline void switch_mm(struct mm_struct *prev,
#define deactivate_mm(mm,tsk) do { } while (0) #define deactivate_mm(mm,tsk) do { } while (0)
#define activate_mm(prev,next) do { } while (0) #define activate_mm(prev,next) do { } while (0)
#define enter_lazy_tlb(mm,tsk) do { } while (0) #define enter_lazy_tlb(mm,tsk) do { } while (0)
#endif /* CONFIG_MMU */ #endif /* not CONFIG_MMU */
#endif /* not __ASSEMBLY__ */ #endif /* not __ASSEMBLY__ */
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_M32R_MMU_CONTEXT_H */ #endif /* _ASM_M32R_MMU_CONTEXT_H */
#ifndef _ASM_M32R_MODULE_H #ifndef _ASM_M32R_MODULE_H
#define _ASM_M32R_MODULE_H #define _ASM_M32R_MODULE_H
/* $Id$ */
struct mod_arch_specific { }; struct mod_arch_specific { };
#define Elf_Shdr Elf32_Shdr #define Elf_Shdr Elf32_Shdr
...@@ -10,4 +8,3 @@ struct mod_arch_specific { }; ...@@ -10,4 +8,3 @@ struct mod_arch_specific { };
#define Elf_Ehdr Elf32_Ehdr #define Elf_Ehdr Elf32_Ehdr
#endif /* _ASM_M32R_MODULE_H */ #endif /* _ASM_M32R_MODULE_H */
#ifndef _ASM_M32R_MSGBUF_H #ifndef _ASM_M32R_MSGBUF_H
#define _ASM_M32R_MSGBUF_H #define _ASM_M32R_MSGBUF_H
/* $Id$ */
/* orig : i386 2.4.18 */
/* /*
* The msqid64_ds structure for m32r architecture. * The msqid64_ds structure for m32r architecture.
* Note extra padding because this structure is passed back and forth * Note extra padding because this structure is passed back and forth
......
#ifndef _ASM_M32R_NAMEI_H #ifndef _ASM_M32R_NAMEI_H
#define _ASM_M32R_NAMEI_H #define _ASM_M32R_NAMEI_H
/* $Id$ */
/* orig : i386 2.4.18 */
/* /*
* linux/include/asm-m32r/namei.h * linux/include/asm-m32r/namei.h
* *
......
#ifndef _OPSPUT_OPSPUT_LAN_H
#define _OPSPUT_OPSPUT_LAN_H
/* /*
* include/asm-m32r/opsput/opsput_lan.h * include/asm-m32r/opsput/opsput_lan.h
* *
...@@ -8,14 +11,8 @@ ...@@ -8,14 +11,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
* $Id: opsput_lan.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
*/ */
#ifndef _OPSPUT_OPSPUT_LAN_H
#define _OPSPUT_OPSPUT_LAN_H
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* /*
* C functions use non-cache address. * C functions use non-cache address.
...@@ -23,7 +20,7 @@ ...@@ -23,7 +20,7 @@
#define OPSPUT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */) #define OPSPUT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */)
#else #else
#define OPSPUT_LAN_BASE (0x10000000 + NONCACHE_OFFSET) #define OPSPUT_LAN_BASE (0x10000000 + NONCACHE_OFFSET)
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* ICU /* ICU
* ICUISTS: status register * ICUISTS: status register
...@@ -52,4 +49,4 @@ ...@@ -52,4 +49,4 @@
#define OPSPUT_LAN_ICUCR1 __reg16(OPSPUT_LAN_BASE + 0xc0010) #define OPSPUT_LAN_ICUCR1 __reg16(OPSPUT_LAN_BASE + 0xc0010)
#define OPSPUT_LAN_ICUCR3 __reg16(OPSPUT_LAN_BASE + 0xc0014) #define OPSPUT_LAN_ICUCR3 __reg16(OPSPUT_LAN_BASE + 0xc0014)
#endif /* _OPSPUT_OPSPUT_LAN_H */ #endif /* _OPSPUT_OPSPUT_LAN_H */
#ifndef _OPSPUT_OPSPUT_LCD_H
#define _OPSPUT_OPSPUT_LCD_H
/* /*
* include/asm-m32r/opsput/opsput_lcd.h * include/asm-m32r/opsput/opsput_lcd.h
* *
...@@ -8,14 +11,8 @@ ...@@ -8,14 +11,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
* $Id: opsput_lcd.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
*/ */
#ifndef _OPSPUT_OPSPUT_LCD_H
#define _OPSPUT_OPSPUT_LCD_H
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* /*
* C functions use non-cache address. * C functions use non-cache address.
...@@ -23,7 +20,7 @@ ...@@ -23,7 +20,7 @@
#define OPSPUT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */) #define OPSPUT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */)
#else #else
#define OPSPUT_LCD_BASE (0x10000000 + NONCACHE_OFFSET) #define OPSPUT_LCD_BASE (0x10000000 + NONCACHE_OFFSET)
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* /*
* ICU * ICU
...@@ -55,4 +52,4 @@ ...@@ -55,4 +52,4 @@
#define OPSPUT_LCD_ICUCR19 __reg16(OPSPUT_LCD_BASE + 0x300036) #define OPSPUT_LCD_ICUCR19 __reg16(OPSPUT_LCD_BASE + 0x300036)
#define OPSPUT_LCD_ICUCR21 __reg16(OPSPUT_LCD_BASE + 0x30003a) #define OPSPUT_LCD_ICUCR21 __reg16(OPSPUT_LCD_BASE + 0x30003a)
#endif /* _OPSPUT_OPSPUT_LCD_H */ #endif /* _OPSPUT_OPSPUT_LCD_H */
#ifndef _OPSPUT_OPSPUT_PLD_H
#define _OPSPUT_OPSPUT_PLD_H
/* /*
* include/asm-m32r/opsput/opsput_pld.h * include/asm-m32r/opsput/opsput_pld.h
* *
...@@ -8,14 +11,8 @@ ...@@ -8,14 +11,8 @@
* This file is subject to the terms and conditions of the GNU General * This file is subject to the terms and conditions of the GNU General
* Public License. See the file "COPYING" in the main directory of * Public License. See the file "COPYING" in the main directory of
* this archive for more details. * this archive for more details.
*
* $Id: opsput_pld.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
*/ */
#ifndef _OPSPUT_OPSPUT_PLD_H
#define _OPSPUT_OPSPUT_PLD_H
#define PLD_PLAT_BASE 0x1cc00000 #define PLD_PLAT_BASE 0x1cc00000
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
...@@ -31,7 +28,7 @@ ...@@ -31,7 +28,7 @@
#define __reg8 #define __reg8
#define __reg16 #define __reg16
#define __reg32 #define __reg32
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* CFC */ /* CFC */
#define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000) #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
...@@ -255,4 +252,4 @@ ...@@ -255,4 +252,4 @@
#define PLD_SCTXB __reg16(PLD_BASE + 0x3800c) #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
#define PLD_SCRXB __reg16(PLD_BASE + 0x3800e) #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)
#endif /* _OPSPUT_OPSPUT_PLD.H */ #endif /* _OPSPUT_OPSPUT_PLD.H */
#ifndef _ASM_M32R_PAGE_H #ifndef _ASM_M32R_PAGE_H
#define _ASM_M32R_PAGE_H #define _ASM_M32R_PAGE_H
/* PAGE_SHIFT determines the page size */ /* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12 #define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_SIZE (1UL << PAGE_SHIFT)
...@@ -57,9 +56,6 @@ typedef struct { unsigned long pgprot; } pgprot_t; ...@@ -57,9 +56,6 @@ typedef struct { unsigned long pgprot; } pgprot_t;
* and CONFIG_HIGHMEM64G options in the kernel configuration. * and CONFIG_HIGHMEM64G options in the kernel configuration.
*/ */
/* This handles the memory map.. */
#define __MEMORY_START CONFIG_MEMORY_START #define __MEMORY_START CONFIG_MEMORY_START
#define __MEMORY_SIZE CONFIG_MEMORY_SIZE #define __MEMORY_SIZE CONFIG_MEMORY_SIZE
...@@ -92,4 +88,3 @@ typedef struct { unsigned long pgprot; } pgprot_t; ...@@ -92,4 +88,3 @@ typedef struct { unsigned long pgprot; } pgprot_t;
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_M32R_PAGE_H */ #endif /* _ASM_M32R_PAGE_H */
#ifndef _ASM_M32R_PARAM_H #ifndef _ASM_M32R_PARAM_H
#define _ASM_M32R_PARAM_H #define _ASM_M32R_PARAM_H
/* $Id$ */
/* orig : i386 2.5.67 */
#ifdef __KERNEL__ #ifdef __KERNEL__
# define HZ 100 /* Internal kernel timer frequency */ # define HZ 100 /* Internal kernel timer frequency */
# define USER_HZ 100 /* .. some user interfaces are in "ticks" */ # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
......
#ifndef _ASM_M32R_PCI_H #ifndef _ASM_M32R_PCI_H
#define _ASM_M32R_PCI_H #define _ASM_M32R_PCI_H
/* $Id$ */
#include <asm-generic/pci.h> #include <asm-generic/pci.h>
#define PCI_DMA_BUS_IS_PHYS (1) #define PCI_DMA_BUS_IS_PHYS (1)
......
#ifndef _ASM_M32R_PGALLOC_H #ifndef _ASM_M32R_PGALLOC_H
#define _ASM_M32R_PGALLOC_H #define _ASM_M32R_PGALLOC_H
/* $Id$ */
#include <linux/mm.h> #include <linux/mm.h>
#include <asm/io.h> #include <asm/io.h>
...@@ -74,4 +72,3 @@ static __inline__ void pte_free(struct page *pte) ...@@ -74,4 +72,3 @@ static __inline__ void pte_free(struct page *pte)
#define check_pgt_cache() do { } while (0) #define check_pgt_cache() do { } while (0)
#endif /* _ASM_M32R_PGALLOC_H */ #endif /* _ASM_M32R_PGALLOC_H */
#ifndef _ASM_M32R_PGTABLE_2LEVEL_H #ifndef _ASM_M32R_PGTABLE_2LEVEL_H
#define _ASM_M32R_PGTABLE_2LEVEL_H #define _ASM_M32R_PGTABLE_2LEVEL_H
#ifdef __KERNEL__ #ifdef __KERNEL__
/* /*
* traditional M32R two-level paging structure: * traditional M32R two-level paging structure:
*/ */
...@@ -77,5 +75,4 @@ static inline pmd_t *pmd_offset(pgd_t * dir, unsigned long address) ...@@ -77,5 +75,4 @@ static inline pmd_t *pmd_offset(pgd_t * dir, unsigned long address)
#define pgoff_to_pte(off) ((pte_t) { (((off) & 0xef) << 2) | (((off) >> 7) << 10) | _PAGE_FILE }) #define pgoff_to_pte(off) ((pte_t) { (((off) & 0xef) << 2) | (((off) >> 7) << 10) | _PAGE_FILE })
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_M32R_PGTABLE_2LEVEL_H */ #endif /* _ASM_M32R_PGTABLE_2LEVEL_H */
#ifndef _ASM_M32R_POSIX_TYPES_H #ifndef _ASM_M32R_POSIX_TYPES_H
#define _ASM_M32R_POSIX_TYPES_H #define _ASM_M32R_POSIX_TYPES_H
/* $Id$ */
/* orig : i386, sh 2.4.18 */
/* /*
* This file is generally used by user-level software, so you need to * This file is generally used by user-level software, so you need to
* be a little careful about namespace pollution etc. Also, we cannot * be a little careful about namespace pollution etc. Also, we cannot
......
/* $Id: rtc.h,v 1.1.1.1 2004/03/25 04:29:22 hitoshiy Exp $ */
#ifndef __RTC_H__ #ifndef __RTC_H__
#define __RTC_H__ #define __RTC_H__
/* Dallas DS1302 clock/calendar register numbers. */ /* Dallas DS1302 clock/calendar register numbers. */
# define RTC_SECONDS 0 # define RTC_SECONDS 0
# define RTC_MINUTES 1 # define RTC_MINUTES 1
......
#ifndef _ASM_M32R_SCATTERLIST_H #ifndef _ASM_M32R_SCATTERLIST_H
#define _ASM_M32R_SCATTERLIST_H #define _ASM_M32R_SCATTERLIST_H
/* $Id$ */
struct scatterlist { struct scatterlist {
char * address; /* Location data is to be transferred to, NULL for char * address; /* Location data is to be transferred to, NULL for
* highmem page */ * highmem page */
......
...@@ -5,4 +5,3 @@ ...@@ -5,4 +5,3 @@
#include <asm-generic/sections.h> #include <asm-generic/sections.h>
#endif /* _M32R_SECTIONS_H */ #endif /* _M32R_SECTIONS_H */
#ifndef _ASM_M32R_SEGMENT_H #ifndef _ASM_M32R_SEGMENT_H
#define _ASM_M32R_SEGMENT_H #define _ASM_M32R_SEGMENT_H
/* $Id$ */
/* orig : i386 (2.4.18) */
#define __KERNEL_CS 0x10 #define __KERNEL_CS 0x10
#define __KERNEL_DS 0x18 #define __KERNEL_DS 0x18
......
#ifndef _ASM_M32R_SEMBUF_H #ifndef _ASM_M32R_SEMBUF_H
#define _ASM_M32R_SEMBUF_H #define _ASM_M32R_SEMBUF_H
/* $Id$ */
/* orig : i386 2.4.18 */
/* /*
* The semid64_ds structure for m32r architecture. * The semid64_ds structure for m32r architecture.
* Note extra padding because this structure is passed back and forth * Note extra padding because this structure is passed back and forth
......
#ifndef _ASM_M32R_SETUP_H
#define _ASM_M32R_SETUP_H
/* /*
* This is set up by the setup-routine at boot-time * This is set up by the setup-routine at boot-time
*/ */
...@@ -32,3 +35,4 @@ extern unsigned long memory_end; ...@@ -32,3 +35,4 @@ extern unsigned long memory_end;
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_M32R_SETUP_H */
#ifndef _ASM_M32R_SHMBUF_H #ifndef _ASM_M32R_SHMBUF_H
#define _ASM_M32R_SHMBUF_H #define _ASM_M32R_SHMBUF_H
/* $Id$ */
/* orig : i386 2.4.18 */
/* /*
* The shmid64_ds structure for M32R architecture. * The shmid64_ds structure for M32R architecture.
* Note extra padding because this structure is passed back and forth * Note extra padding because this structure is passed back and forth
......
#ifndef _ASM_M32R_SHMPARAM_H #ifndef _ASM_M32R_SHMPARAM_H
#define _ASM_M32R_SHMPARAM_H #define _ASM_M32R_SHMPARAM_H
/* $Id$ */
#define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
#endif /* _ASM_M32R_SHMPARAM_H */ #endif /* _ASM_M32R_SHMPARAM_H */
#ifndef _ASM_M32R_SIGCONTEXT_H #ifndef _ASM_M32R_SIGCONTEXT_H
#define _ASM_M32R_SIGCONTEXT_H #define _ASM_M32R_SIGCONTEXT_H
/* $Id$ */
struct sigcontext { struct sigcontext {
/* CPU registers */ /* CPU registers */
/* Saved main processor registers. */ /* Saved main processor registers. */
......
#ifndef _M32R_SIGINFO_H #ifndef _M32R_SIGINFO_H
#define _M32R_SIGINFO_H #define _M32R_SIGINFO_H
/* $Id$ */
#include <asm-generic/siginfo.h> #include <asm-generic/siginfo.h>
#endif /* _M32R_SIGINFO_H */ #endif /* _M32R_SIGINFO_H */
#ifndef _ASM_M32R_SIGNAL_H #ifndef _ASM_M32R_SIGNAL_H
#define _ASM_M32R_SIGNAL_H #define _ASM_M32R_SIGNAL_H
/* $Id$ */
/* orig : i386 2.4.18 */
#include <linux/types.h> #include <linux/types.h>
#include <linux/time.h> #include <linux/time.h>
#include <linux/compiler.h> #include <linux/compiler.h>
......
#ifndef _ASM_M32R_SMP_H #ifndef _ASM_M32R_SMP_H
#define _ASM_M32R_SMP_H #define _ASM_M32R_SMP_H
/* $Id$ */
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
......
#ifndef _ASM_M32R_SOCKIOS_H #ifndef _ASM_M32R_SOCKIOS_H
#define _ASM_M32R_SOCKIOS_H #define _ASM_M32R_SOCKIOS_H
/* $Id$ */
/* Socket-level I/O control calls. */ /* Socket-level I/O control calls. */
#define FIOSETOWN 0x8901 #define FIOSETOWN 0x8901
#define SIOCSPGRP 0x8902 #define SIOCSPGRP 0x8902
......
...@@ -20,4 +20,4 @@ typedef struct { ...@@ -20,4 +20,4 @@ typedef struct {
#define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }
#endif #endif /* _ASM_M32R_SPINLOCK_TYPES_H */
#ifndef _ASM_M32R_STAT_H #ifndef _ASM_M32R_STAT_H
#define _ASM_M32R_STAT_H #define _ASM_M32R_STAT_H
/* $Id$ */
/* orig : i386 2.4.18 */
#include <asm/byteorder.h> #include <asm/byteorder.h>
struct __old_kernel_stat { struct __old_kernel_stat {
......
#ifndef _ASM_M32R_STRING_H #ifndef _ASM_M32R_STRING_H
#define _ASM_M32R_STRING_H #define _ASM_M32R_STRING_H
/* $Id$ */
#define __HAVE_ARCH_STRLEN #define __HAVE_ARCH_STRLEN
extern size_t strlen(const char * s); extern size_t strlen(const char * s);
......
#ifndef _ASM_M32R_SYSCALL_H #ifndef _ASM_M32R_SYSCALL_H
#define _ASM_M32R_SYSCALL_H #define _ASM_M32R_SYSCALL_H
/* $Id$ */
/* Definitions for the system call vector. */ /* Definitions for the system call vector. */
#define SYSCALL_VECTOR "2" #define SYSCALL_VECTOR "2"
#define SYSCALL_VECTOR_ADDRESS "0xa0" #define SYSCALL_VECTOR_ADDRESS "0xa0"
#endif /* _ASM_M32R_SYSCALL_H */ #endif /* _ASM_M32R_SYSCALL_H */
...@@ -339,4 +339,4 @@ __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) ...@@ -339,4 +339,4 @@ __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size)
#define arch_align_stack(x) (x) #define arch_align_stack(x) (x)
#endif /* _ASM_M32R_SYSTEM_H */ #endif /* _ASM_M32R_SYSTEM_H */
#ifndef _ASM_M32R_TERMBITS_H #ifndef _ASM_M32R_TERMBITS_H
#define _ASM_M32R_TERMBITS_H #define _ASM_M32R_TERMBITS_H
/* $Id$ */
#include <linux/posix_types.h> #include <linux/posix_types.h>
typedef unsigned char cc_t; typedef unsigned char cc_t;
...@@ -184,4 +182,4 @@ struct ktermios { ...@@ -184,4 +182,4 @@ struct ktermios {
#define TCSADRAIN 1 #define TCSADRAIN 1
#define TCSAFLUSH 2 #define TCSAFLUSH 2
#endif /* _ASM_M32R_TERMBITS_H */ #endif /* _ASM_M32R_TERMBITS_H */
#ifndef _M32R_TERMIOS_H #ifndef _M32R_TERMIOS_H
#define _M32R_TERMIOS_H #define _M32R_TERMIOS_H
/* orig : i386 2.6.0-test5 */
#include <asm/termbits.h> #include <asm/termbits.h>
#include <asm/ioctls.h> #include <asm/ioctls.h>
......
#ifndef _ASM_M32R_TIMEX_H #ifndef _ASM_M32R_TIMEX_H
#define _ASM_M32R_TIMEX_H #define _ASM_M32R_TIMEX_H
/* $Id$ */
/* /*
* linux/include/asm-m32r/timex.h * linux/include/asm-m32r/timex.h
* *
* m32r architecture timex specifications * m32r architecture timex specifications
*/ */
#define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE) #define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE)
#define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */ #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
......
...@@ -98,4 +98,3 @@ static __inline__ void __flush_tlb_all(void) ...@@ -98,4 +98,3 @@ static __inline__ void __flush_tlb_all(void)
extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);
#endif /* _ASM_M32R_TLBFLUSH_H */ #endif /* _ASM_M32R_TLBFLUSH_H */
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* $Id$ */
/* orig : i386 2.4.18 */
typedef unsigned short umode_t; typedef unsigned short umode_t;
/* /*
...@@ -59,4 +55,4 @@ typedef u64 dma64_addr_t; ...@@ -59,4 +55,4 @@ typedef u64 dma64_addr_t;
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_M32R_TYPES_H */ #endif /* _ASM_M32R_TYPES_H */
#ifndef _ASM_M32R_UCONTEXT_H #ifndef _ASM_M32R_UCONTEXT_H
#define _ASM_M32R_UCONTEXT_H #define _ASM_M32R_UCONTEXT_H
/* orig : i386 2.4.18 */
struct ucontext { struct ucontext {
unsigned long uc_flags; unsigned long uc_flags;
struct ucontext *uc_link; struct ucontext *uc_link;
......
#ifndef _ASM_M32R_UNALIGNED_H #ifndef _ASM_M32R_UNALIGNED_H
#define _ASM_M32R_UNALIGNED_H #define _ASM_M32R_UNALIGNED_H
/* $Id$ */
/* orig : generic 2.4.18 */
/* /*
* For the benefit of those who are trying to port Linux to another * For the benefit of those who are trying to port Linux to another
* architecture, here are some C-language equivalents. * architecture, here are some C-language equivalents.
...@@ -12,7 +8,6 @@ ...@@ -12,7 +8,6 @@
#include <asm/string.h> #include <asm/string.h>
#define get_unaligned(ptr) \ #define get_unaligned(ptr) \
({ __typeof__(*(ptr)) __tmp; memmove(&__tmp, (ptr), sizeof(*(ptr))); __tmp; }) ({ __typeof__(*(ptr)) __tmp; memmove(&__tmp, (ptr), sizeof(*(ptr))); __tmp; })
...@@ -21,5 +16,4 @@ ...@@ -21,5 +16,4 @@
memmove((ptr), &__tmp, sizeof(*(ptr))); \ memmove((ptr), &__tmp, sizeof(*(ptr))); \
(void)0; }) (void)0; })
#endif /* _ASM_M32R_UNALIGNED_H */
#endif /* _ASM_M32R_UNALIGNED_H */
#ifndef _ASM_M32R_UNISTD_H #ifndef _ASM_M32R_UNISTD_H
#define _ASM_M32R_UNISTD_H #define _ASM_M32R_UNISTD_H
/* $Id$ */
/* /*
* This file contains the system call numbers. * This file contains the system call numbers.
*/ */
......
#ifndef _ASM_M32R_USER_H #ifndef _ASM_M32R_USER_H
#define _ASM_M32R_USER_H #define _ASM_M32R_USER_H
/* $Id$ */
/* orig : sh 2.4.18
* mod : remove fpu registers
*/
#include <linux/types.h> #include <linux/types.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/page.h> #include <asm/page.h>
......
#ifndef _ASM_M32R_VGA_H #ifndef _ASM_M32R_VGA_H
#define _ASM_M32R_VGA_H #define _ASM_M32R_VGA_H
/* $Id$ */
/* /*
* Access to VGA videoram * Access to VGA videoram
* *
...@@ -19,4 +17,4 @@ ...@@ -19,4 +17,4 @@
#define vga_readb(x) (*(x)) #define vga_readb(x) (*(x))
#define vga_writeb(x,y) (*(y) = (x)) #define vga_writeb(x,y) (*(y) = (x))
#endif /* _ASM_M32R_VGA_H */ #endif /* _ASM_M32R_VGA_H */
#ifndef _ASM_M32R_XOR_H #ifndef _ASM_M32R_XOR_H
#define _ASM_M32R_XOR_H #define _ASM_M32R_XOR_H
/* $Id$ */
#include <asm-generic/xor.h> #include <asm-generic/xor.h>
#endif /* _ASM_M32R_XOR_H */ #endif /* _ASM_M32R_XOR_H */
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