Commit fabb626ad6a3744b9f0eaae215a2418d521c1e14

Authored by Hirokazu Takata
Committed by Linus Torvalds
1 parent 3d60f84934

[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: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 71 changed files with 68 additions and 258 deletions Side-by-side Diff

arch/m32r/kernel/head.S
... ... @@ -7,8 +7,6 @@
7 7 * Hitoshi Yamamoto
8 8 */
9 9  
10   -/* $Id$ */
11   -
12 10 #include <linux/init.h>
13 11 __INIT
14 12 __INITDATA
arch/m32r/lib/ashxdi3.S
... ... @@ -4,8 +4,6 @@
4 4 * Copyright (C) 2001,2002 Hiroyuki Kondo, and Hirokazu Takata
5 5 *
6 6 */
7   -/* $Id$ */
8   -
9 7  
10 8 ;
11 9 ; input (r0,r1) src
arch/m32r/lib/checksum.S
... ... @@ -25,9 +25,7 @@
25 25 * as published by the Free Software Foundation; either version
26 26 * 2 of the License, or (at your option) any later version.
27 27 */
28   -/* $Id$ */
29 28  
30   -
31 29 #include <linux/linkage.h>
32 30 #include <asm/assembler.h>
33 31 #include <asm/errno.h>
... ... @@ -318,4 +316,6 @@
318 316 nop
319 317 nop
320 318 nop
  319 +
  320 + .end
arch/m32r/lib/delay.c
... ... @@ -5,8 +5,6 @@
5 5 * Copyright (c) 2004 Hirokazu Takata
6 6 */
7 7  
8   -/* $Id$ */
9   -
10 8 #include <linux/param.h>
11 9 #ifdef CONFIG_SMP
12 10 #include <linux/sched.h>
arch/m32r/lib/memcpy.S
... ... @@ -10,8 +10,6 @@
10 10 * src: r1
11 11 * n : r2
12 12 */
13   -/* $Id$ */
14   -
15 13  
16 14 .text
17 15 #include <linux/linkage.h>
arch/m32r/lib/memset.S
... ... @@ -12,8 +12,6 @@
12 12 * ret: r0
13 13 *
14 14 */
15   -/* $Id$ */
16   -
17 15  
18 16 .text
19 17 .global memset
arch/m32r/lib/strlen.S
... ... @@ -6,8 +6,6 @@
6 6 * size_t strlen(const char *s);
7 7 *
8 8 */
9   -/* $Id$ */
10   -
11 9  
12 10 #include <linux/linkage.h>
13 11 #include <asm/assembler.h>
arch/m32r/mm/fault-nommu.c
... ... @@ -7,8 +7,6 @@
7 7 * Copyright (C) 1995 Linus Torvalds
8 8 */
9 9  
10   -/* $Id: fault-nommu.c,v 1.1 2004/03/30 06:40:59 sakugawa Exp $ */
11   -
12 10 #include <linux/signal.h>
13 11 #include <linux/sched.h>
14 12 #include <linux/kernel.h>
... ... @@ -67,7 +65,7 @@
67 65 * without oops_in_progress set so that printk will give klogd
68 66 * a poke. Hold onto your hats...
69 67 */
70   - console_loglevel = 15; /* NMI oopser may have shut the console up */
  68 + console_loglevel = 15; /* NMI oopser may have shut the console up */
71 69 printk(" ");
72 70 console_loglevel = loglevel_save;
73 71 }
... ... @@ -4,8 +4,6 @@
4 4 * Copyright (C) 2001 by Hiroyuki Kondo
5 5 */
6 6  
7   -/* $Id: mmu.S,v 1.15 2004/03/16 02:56:27 takata Exp $ */
8   -
9 7 #include <linux/linkage.h>
10 8 #include <asm/assembler.h>
11 9 #include <asm/smp.h>
... ... @@ -345,5 +343,5 @@
345 343  
346 344 #endif /* CONFIG_MMU */
347 345  
348   -.end
  346 + .end
include/asm-m32r/a.out.h
1 1 #ifndef _ASM_M32R_A_OUT_H
2 2 #define _ASM_M32R_A_OUT_H
3 3  
4   -/* orig : i386 2.4.18 */
5   -
6 4 struct exec
7 5 {
8 6 unsigned long a_info; /* Use macros N_MAGIC, etc for access */
include/asm-m32r/addrspace.h
1   -/* $Id$ */
2 1 /*
3 2 * This file is subject to the terms and conditions of the GNU General Public
4 3 * License. See the file "COPYING" in the main directory of this archive
include/asm-m32r/bugs.h
1 1 #ifndef _ASM_M32R_BUGS_H
2 2 #define _ASM_M32R_BUGS_H
3 3  
4   -/* $Id$ */
5   -
6 4 /*
7 5 * This is included by init/main.c to check for architecture-dependent bugs.
8 6 *
include/asm-m32r/byteorder.h
1 1 #ifndef _ASM_M32R_BYTEORDER_H
2 2 #define _ASM_M32R_BYTEORDER_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <asm/types.h>
7 5  
8 6 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
include/asm-m32r/cache.h
1 1 #ifndef _ASM_M32R_CACHE_H
2 2 #define _ASM_M32R_CACHE_H
3 3  
4   -/* $Id$ */
5   -
6 4 /* L1 cache line size */
7 5 #define L1_CACHE_SHIFT 4
8 6 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
include/asm-m32r/current.h
1 1 #ifndef _ASM_M32R_CURRENT_H
2 2 #define _ASM_M32R_CURRENT_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <linux/thread_info.h>
7 5  
8 6 struct task_struct;
include/asm-m32r/delay.h
1 1 #ifndef _ASM_M32R_DELAY_H
2 2 #define _ASM_M32R_DELAY_H
3 3  
4   -/* $Id$ */
5   -
6 4 /*
7 5 * Copyright (C) 1993 Linus Torvalds
8 6 *
include/asm-m32r/dma.h
1 1 #ifndef _ASM_M32R_DMA_H
2 2 #define _ASM_M32R_DMA_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <asm/io.h>
7 5  
8 6 /*
include/asm-m32r/errno.h
1 1 #ifndef _ASM_M32R_ERRNO_H
2 2 #define _ASM_M32R_ERRNO_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <asm-generic/errno.h>
7 5  
8 6 #endif /* _ASM_M32R_ERRNO_H */
include/asm-m32r/ide.h
1 1 #ifndef _ASM_M32R_IDE_H
2 2 #define _ASM_M32R_IDE_H
3 3  
4   -/* $Id$ */
5   -
6 4 /*
7 5 * linux/include/asm-m32r/ide.h
8 6 *
... ... @@ -15,6 +13,7 @@
15 13  
16 14 #ifdef __KERNEL__
17 15  
  16 +#include <asm/m32r.h>
18 17  
19 18 #ifndef MAX_HWIFS
20 19 # ifdef CONFIG_BLK_DEV_IDEPCI
... ... @@ -23,9 +22,6 @@
23 22 #define MAX_HWIFS 2
24 23 # endif
25 24 #endif
26   -
27   -#include <asm/m32r.h>
28   -
29 25  
30 26 #define IDE_ARCH_OBSOLETE_DEFAULTS
31 27  
include/asm-m32r/ioctls.h
1 1 #ifndef __ARCH_M32R_IOCTLS_H__
2 2 #define __ARCH_M32R_IOCTLS_H__
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.5.67 */
7   -
8 4 #include <asm/ioctl.h>
9 5  
10 6 /* 0x54 is just a magic number to make these relatively unique ('T') */
include/asm-m32r/ipcbuf.h
1 1 #ifndef _ASM_M32R_IPCBUF_H
2 2 #define _ASM_M32R_IPCBUF_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 /*
9 5 * The ipc64_perm structure for m32r architecture.
10 6 * Note extra padding because this structure is passed back and forth
include/asm-m32r/kmap_types.h
1 1 #ifndef __M32R_KMAP_TYPES_H
2 2 #define __M32R_KMAP_TYPES_H
3 3  
4   -/* Dummy header just to define km_type. */
5   -
6   -
7 4 #ifdef CONFIG_DEBUG_HIGHMEM
8 5 # define D(n) __KM_FENCE_##n ,
9 6 #else
include/asm-m32r/m32104ut/m32104ut_pld.h
  1 +#ifndef _M32104UT_M32104UT_PLD_H
  2 +#define _M32104UT_M32104UT_PLD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/m32104ut/m32104ut_pld.h
3 6 *
... ... @@ -12,10 +15,6 @@
12 15 * this archive for more details.
13 16 */
14 17  
15   -#ifndef _M32104UT_M32104UT_PLD_H
16   -#define _M32104UT_M32104UT_PLD_H
17   -
18   -
19 18 #if defined(CONFIG_PLAT_M32104UT)
20 19 #define PLD_PLAT_BASE 0x02c00000
21 20 #else
... ... @@ -35,7 +34,7 @@
35 34 #define __reg8
36 35 #define __reg16
37 36 #define __reg32
38   -#endif /* __ASSEMBLY__ */
  37 +#endif /* __ASSEMBLY__ */
39 38  
40 39 /* CFC */
41 40 #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
... ... @@ -159,5 +158,5 @@
159 158 #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
160 159 #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)
161 160  
162   -#endif /* _M32104UT_M32104UT_PLD_H */
  161 +#endif /* _M32104UT_M32104UT_PLD_H */
include/asm-m32r/m32700ut/m32700ut_lan.h
  1 +#ifndef _M32700UT_M32700UT_LAN_H
  2 +#define _M32700UT_M32700UT_LAN_H
  3 +
1 4 /*
2 5 * include/asm-m32r/m32700ut/m32700ut_lan.h
3 6 *
4 7  
... ... @@ -8,14 +11,8 @@
8 11 * This file is subject to the terms and conditions of the GNU General
9 12 * Public License. See the file "COPYING" in the main directory of
10 13 * this archive for more details.
11   - *
12   - * $Id$
13 14 */
14 15  
15   -#ifndef _M32700UT_M32700UT_LAN_H
16   -#define _M32700UT_M32700UT_LAN_H
17   -
18   -
19 16 #ifndef __ASSEMBLY__
20 17 /*
21 18 * C functions use non-cache address.
... ... @@ -23,7 +20,7 @@
23 20 #define M32700UT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */)
24 21 #else
25 22 #define M32700UT_LAN_BASE (0x10000000 + NONCACHE_OFFSET)
26   -#endif /* __ASSEMBLY__ */
  23 +#endif /* __ASSEMBLY__ */
27 24  
28 25 /* ICU
29 26 * ICUISTS: status register
... ... @@ -103,5 +100,5 @@
103 100 #define PLDI2CSTS_BB 0x00000010
104 101 #define PLDI2CSTS_NOACK 0x00000001 /* 0:ack, 1:noack */
105 102  
106   -#endif /* _M32700UT_M32700UT_LAN_H */
  103 +#endif /* _M32700UT_M32700UT_LAN_H */
include/asm-m32r/m32700ut/m32700ut_lcd.h
  1 +#ifndef _M32700UT_M32700UT_LCD_H
  2 +#define _M32700UT_M32700UT_LCD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/m32700ut/m32700ut_lcd.h
3 6 *
4 7  
... ... @@ -8,14 +11,8 @@
8 11 * This file is subject to the terms and conditions of the GNU General
9 12 * Public License. See the file "COPYING" in the main directory of
10 13 * this archive for more details.
11   - *
12   - * $Id$
13 14 */
14 15  
15   -#ifndef _M32700UT_M32700UT_LCD_H
16   -#define _M32700UT_M32700UT_LCD_H
17   -
18   -
19 16 #ifndef __ASSEMBLY__
20 17 /*
21 18 * C functions use non-cache address.
... ... @@ -23,7 +20,7 @@
23 20 #define M32700UT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */)
24 21 #else
25 22 #define M32700UT_LCD_BASE (0x10000000 + NONCACHE_OFFSET)
26   -#endif /* __ASSEMBLY__ */
  23 +#endif /* __ASSEMBLY__ */
27 24  
28 25 /*
29 26 * ICU
... ... @@ -55,5 +52,5 @@
55 52 #define M32700UT_LCD_ICUCR19 __reg16(M32700UT_LCD_BASE + 0x300036)
56 53 #define M32700UT_LCD_ICUCR21 __reg16(M32700UT_LCD_BASE + 0x30003a)
57 54  
58   -#endif /* _M32700UT_M32700UT_LCD_H */
  55 +#endif /* _M32700UT_M32700UT_LCD_H */
include/asm-m32r/m32700ut/m32700ut_pld.h
  1 +#ifndef _M32700UT_M32700UT_PLD_H
  2 +#define _M32700UT_M32700UT_PLD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/m32700ut/m32700ut_pld.h
3 6 *
4 7  
... ... @@ -8,14 +11,8 @@
8 11 * This file is subject to the terms and conditions of the GNU General
9 12 * Public License. See the file "COPYING" in the main directory of
10 13 * this archive for more details.
11   - *
12   - * $Id$
13 14 */
14 15  
15   -#ifndef _M32700UT_M32700UT_PLD_H
16   -#define _M32700UT_M32700UT_PLD_H
17   -
18   -
19 16 #if defined(CONFIG_PLAT_M32700UT_Alpha)
20 17 #define PLD_PLAT_BASE 0x08c00000
21 18 #elif defined(CONFIG_PLAT_M32700UT) || defined(CONFIG_PLAT_USRV)
... ... @@ -37,7 +34,7 @@
37 34 #define __reg8
38 35 #define __reg16
39 36 #define __reg32
40   -#endif /* __ASSEMBLY__ */
  37 +#endif /* __ASSEMBLY__ */
41 38  
42 39 /* CFC */
43 40 #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
... ... @@ -261,5 +258,5 @@
261 258 #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
262 259 #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)
263 260  
264   -#endif /* _M32700UT_M32700UT_PLD.H */
  261 +#endif /* _M32700UT_M32700UT_PLD.H */
include/asm-m32r/mappi2/mappi2_pld.h
  1 +#ifndef _MAPPI2_PLD_H
  2 +#define _MAPPI2_PLD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/mappi2/mappi2_pld.h
3 6 *
4 7 * Definitions for Extended IO Logic on MAPPI2 board.
5   - * based on m32700ut_pld.h by
  8 + * based on m32700ut_pld.h
6 9 *
7 10 * This file is subject to the terms and conditions of the GNU General
8 11 * Public License. See the file "COPYING" in the main directory of
9 12 * this archive for more details.
10   - *
11 13 */
12 14  
13   -#ifndef _MAPPI2_PLD_H
14   -#define _MAPPI2_PLD_H
15   -
16 15 #ifndef __ASSEMBLY__
17 16 /* FIXME:
18 17 * Some C functions use non-cache address, so can't define non-cache address.
... ... @@ -26,7 +25,7 @@
26 25 #define __reg8
27 26 #define __reg16
28 27 #define __reg32
29   -#endif /* __ASSEMBLY__ */
  28 +#endif /* __ASSEMBLY__ */
30 29  
31 30 /* CFC */
32 31 #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
... ... @@ -148,5 +147,5 @@
148 147  
149 148 #endif
150 149  
151   -#endif /* _MAPPI2_PLD.H */
  150 +#endif /* _MAPPI2_PLD.H */
include/asm-m32r/mappi3/mappi3_pld.h
  1 +#ifndef _MAPPI3_PLD_H
  2 +#define _MAPPI3_PLD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/mappi3/mappi3_pld.h
3 6 *
4 7  
... ... @@ -7,12 +10,8 @@
7 10 * This file is subject to the terms and conditions of the GNU General
8 11 * Public License. See the file "COPYING" in the main directory of
9 12 * this archive for more details.
10   - *
11 13 */
12 14  
13   -#ifndef _MAPPI3_PLD_H
14   -#define _MAPPI3_PLD_H
15   -
16 15 #ifndef __ASSEMBLY__
17 16 /* FIXME:
18 17 * Some C functions use non-cache address, so can't define non-cache address.
... ... @@ -26,7 +25,7 @@
26 25 #define __reg8
27 26 #define __reg16
28 27 #define __reg32
29   -#endif /* __ASSEMBLY__ */
  28 +#endif /* __ASSEMBLY__ */
30 29  
31 30 /* CFC */
32 31 #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
... ... @@ -140,5 +139,5 @@
140 139 /* Reset Control */
141 140 #define PLD_REBOOT __reg16(PLD_BASE + 0x38000)
142 141  
143   -#endif /* _MAPPI3_PLD.H */
  142 +#endif /* _MAPPI3_PLD.H */
include/asm-m32r/mc146818rtc.h
... ... @@ -7,7 +7,6 @@
7 7 #include <asm/io.h>
8 8  
9 9 #ifndef RTC_PORT
10   -// #define RTC_PORT(x) (0x70 + (x))
11 10 #define RTC_PORT(x) ((x))
12 11 #define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
13 12 #endif
... ... @@ -26,8 +25,6 @@
26 25 })
27 26  
28 27 #define RTC_IRQ 8
29   -#if 0
30   -#endif
31 28  
32 29 #endif /* _ASM_MC146818RTC_H */
include/asm-m32r/mman.h
... ... @@ -3,8 +3,6 @@
3 3  
4 4 #include <asm-generic/mman.h>
5 5  
6   -/* orig : i386 2.6.0-test6 */
7   -
8 6 #define MAP_GROWSDOWN 0x0100 /* stack-like segment */
9 7 #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
10 8 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
include/asm-m32r/mmu.h
1 1 #ifndef _ASM_M32R_MMU_H
2 2 #define _ASM_M32R_MMU_H
3 3  
4   -
5 4 #if !defined(CONFIG_MMU)
  5 +
6 6 typedef struct {
7 7 struct vm_list_struct *vmlist;
8 8 unsigned long end_brk;
9 9 } mm_context_t;
10   -#else
11 10  
  11 +#else /* CONFIG_MMU */
  12 +
12 13 /* Default "unsigned long" context */
13 14 #ifndef CONFIG_SMP
14 15 typedef unsigned long mm_context_t;
... ... @@ -16,6 +17,7 @@
16 17 typedef unsigned long mm_context_t[NR_CPUS];
17 18 #endif
18 19  
19   -#endif /* CONFIG_MMU */
20   -#endif /* _ASM_M32R_MMU_H */
  20 +#endif /* CONFIG_MMU */
  21 +
  22 +#endif /* _ASM_M32R_MMU_H */
include/asm-m32r/mmu_context.h
1 1 #ifndef _ASM_M32R_MMU_CONTEXT_H
2 2 #define _ASM_M32R_MMU_CONTEXT_H
3   -
4 3 #ifdef __KERNEL__
5 4  
6   -
7 5 #include <asm/m32r.h>
8 6  
9 7 #define MMU_CONTEXT_ASID_MASK (0x000000FF)
... ... @@ -11,7 +9,6 @@
11 9 #define MMU_CONTEXT_FIRST_VERSION (0x00000100)
12 10 #define NO_CONTEXT (0x00000000)
13 11  
14   -
15 12 #ifndef __ASSEMBLY__
16 13  
17 14 #include <asm/atomic.h>
... ... @@ -147,7 +144,7 @@
147 144 #define activate_mm(prev, next) \
148 145 switch_mm((prev), (next), NULL)
149 146  
150   -#else
  147 +#else /* not CONFIG_MMU */
151 148 #define get_mmu_context(mm) do { } while (0)
152 149 #define init_new_context(tsk,mm) (0)
153 150 #define destroy_context(mm) do { } while (0)
154 151  
155 152  
... ... @@ -158,12 +155,10 @@
158 155 #define deactivate_mm(mm,tsk) do { } while (0)
159 156 #define activate_mm(prev,next) do { } while (0)
160 157 #define enter_lazy_tlb(mm,tsk) do { } while (0)
161   -#endif /* CONFIG_MMU */
  158 +#endif /* not CONFIG_MMU */
162 159  
163   -
164 160 #endif /* not __ASSEMBLY__ */
165 161  
166 162 #endif /* __KERNEL__ */
167   -
168 163 #endif /* _ASM_M32R_MMU_CONTEXT_H */
include/asm-m32r/module.h
1 1 #ifndef _ASM_M32R_MODULE_H
2 2 #define _ASM_M32R_MODULE_H
3 3  
4   -/* $Id$ */
5   -
6 4 struct mod_arch_specific { };
7 5  
8 6 #define Elf_Shdr Elf32_Shdr
include/asm-m32r/msgbuf.h
1 1 #ifndef _ASM_M32R_MSGBUF_H
2 2 #define _ASM_M32R_MSGBUF_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 /*
9 5 * The msqid64_ds structure for m32r architecture.
10 6 * Note extra padding because this structure is passed back and forth
include/asm-m32r/namei.h
1 1 #ifndef _ASM_M32R_NAMEI_H
2 2 #define _ASM_M32R_NAMEI_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 /*
9 5 * linux/include/asm-m32r/namei.h
10 6 *
include/asm-m32r/opsput/opsput_lan.h
  1 +#ifndef _OPSPUT_OPSPUT_LAN_H
  2 +#define _OPSPUT_OPSPUT_LAN_H
  3 +
1 4 /*
2 5 * include/asm-m32r/opsput/opsput_lan.h
3 6 *
4 7  
... ... @@ -8,14 +11,8 @@
8 11 * This file is subject to the terms and conditions of the GNU General
9 12 * Public License. See the file "COPYING" in the main directory of
10 13 * this archive for more details.
11   - *
12   - * $Id: opsput_lan.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
13 14 */
14 15  
15   -#ifndef _OPSPUT_OPSPUT_LAN_H
16   -#define _OPSPUT_OPSPUT_LAN_H
17   -
18   -
19 16 #ifndef __ASSEMBLY__
20 17 /*
21 18 * C functions use non-cache address.
... ... @@ -23,7 +20,7 @@
23 20 #define OPSPUT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */)
24 21 #else
25 22 #define OPSPUT_LAN_BASE (0x10000000 + NONCACHE_OFFSET)
26   -#endif /* __ASSEMBLY__ */
  23 +#endif /* __ASSEMBLY__ */
27 24  
28 25 /* ICU
29 26 * ICUISTS: status register
... ... @@ -52,5 +49,5 @@
52 49 #define OPSPUT_LAN_ICUCR1 __reg16(OPSPUT_LAN_BASE + 0xc0010)
53 50 #define OPSPUT_LAN_ICUCR3 __reg16(OPSPUT_LAN_BASE + 0xc0014)
54 51  
55   -#endif /* _OPSPUT_OPSPUT_LAN_H */
  52 +#endif /* _OPSPUT_OPSPUT_LAN_H */
include/asm-m32r/opsput/opsput_lcd.h
  1 +#ifndef _OPSPUT_OPSPUT_LCD_H
  2 +#define _OPSPUT_OPSPUT_LCD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/opsput/opsput_lcd.h
3 6 *
4 7  
... ... @@ -8,14 +11,8 @@
8 11 * This file is subject to the terms and conditions of the GNU General
9 12 * Public License. See the file "COPYING" in the main directory of
10 13 * this archive for more details.
11   - *
12   - * $Id: opsput_lcd.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
13 14 */
14 15  
15   -#ifndef _OPSPUT_OPSPUT_LCD_H
16   -#define _OPSPUT_OPSPUT_LCD_H
17   -
18   -
19 16 #ifndef __ASSEMBLY__
20 17 /*
21 18 * C functions use non-cache address.
... ... @@ -23,7 +20,7 @@
23 20 #define OPSPUT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */)
24 21 #else
25 22 #define OPSPUT_LCD_BASE (0x10000000 + NONCACHE_OFFSET)
26   -#endif /* __ASSEMBLY__ */
  23 +#endif /* __ASSEMBLY__ */
27 24  
28 25 /*
29 26 * ICU
... ... @@ -55,5 +52,5 @@
55 52 #define OPSPUT_LCD_ICUCR19 __reg16(OPSPUT_LCD_BASE + 0x300036)
56 53 #define OPSPUT_LCD_ICUCR21 __reg16(OPSPUT_LCD_BASE + 0x30003a)
57 54  
58   -#endif /* _OPSPUT_OPSPUT_LCD_H */
  55 +#endif /* _OPSPUT_OPSPUT_LCD_H */
include/asm-m32r/opsput/opsput_pld.h
  1 +#ifndef _OPSPUT_OPSPUT_PLD_H
  2 +#define _OPSPUT_OPSPUT_PLD_H
  3 +
1 4 /*
2 5 * include/asm-m32r/opsput/opsput_pld.h
3 6 *
4 7  
... ... @@ -8,14 +11,8 @@
8 11 * This file is subject to the terms and conditions of the GNU General
9 12 * Public License. See the file "COPYING" in the main directory of
10 13 * this archive for more details.
11   - *
12   - * $Id: opsput_pld.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $
13 14 */
14 15  
15   -#ifndef _OPSPUT_OPSPUT_PLD_H
16   -#define _OPSPUT_OPSPUT_PLD_H
17   -
18   -
19 16 #define PLD_PLAT_BASE 0x1cc00000
20 17  
21 18 #ifndef __ASSEMBLY__
... ... @@ -31,7 +28,7 @@
31 28 #define __reg8
32 29 #define __reg16
33 30 #define __reg32
34   -#endif /* __ASSEMBLY__ */
  31 +#endif /* __ASSEMBLY__ */
35 32  
36 33 /* CFC */
37 34 #define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
... ... @@ -255,5 +252,5 @@
255 252 #define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
256 253 #define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)
257 254  
258   -#endif /* _OPSPUT_OPSPUT_PLD.H */
  255 +#endif /* _OPSPUT_OPSPUT_PLD.H */
include/asm-m32r/page.h
1 1 #ifndef _ASM_M32R_PAGE_H
2 2 #define _ASM_M32R_PAGE_H
3 3  
4   -
5 4 /* PAGE_SHIFT determines the page size */
6 5 #define PAGE_SHIFT 12
7 6 #define PAGE_SIZE (1UL << PAGE_SHIFT)
... ... @@ -56,9 +55,6 @@
56 55 * If you want more physical memory than this then see the CONFIG_HIGHMEM4G
57 56 * and CONFIG_HIGHMEM64G options in the kernel configuration.
58 57 */
59   -
60   -
61   -/* This handles the memory map.. */
62 58  
63 59 #define __MEMORY_START CONFIG_MEMORY_START
64 60 #define __MEMORY_SIZE CONFIG_MEMORY_SIZE
include/asm-m32r/param.h
1 1 #ifndef _ASM_M32R_PARAM_H
2 2 #define _ASM_M32R_PARAM_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.5.67 */
7   -
8 4 #ifdef __KERNEL__
9 5 # define HZ 100 /* Internal kernel timer frequency */
10 6 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */
include/asm-m32r/pci.h
1 1 #ifndef _ASM_M32R_PCI_H
2 2 #define _ASM_M32R_PCI_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <asm-generic/pci.h>
7 5  
8 6 #define PCI_DMA_BUS_IS_PHYS (1)
include/asm-m32r/pgalloc.h
1 1 #ifndef _ASM_M32R_PGALLOC_H
2 2 #define _ASM_M32R_PGALLOC_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <linux/mm.h>
7 5  
8 6 #include <asm/io.h>
include/asm-m32r/pgtable-2level.h
1 1 #ifndef _ASM_M32R_PGTABLE_2LEVEL_H
2 2 #define _ASM_M32R_PGTABLE_2LEVEL_H
3   -
4 3 #ifdef __KERNEL__
5 4  
6   -
7 5 /*
8 6 * traditional M32R two-level paging structure:
9 7 */
... ... @@ -77,6 +75,5 @@
77 75 #define pgoff_to_pte(off) ((pte_t) { (((off) & 0xef) << 2) | (((off) >> 7) << 10) | _PAGE_FILE })
78 76  
79 77 #endif /* __KERNEL__ */
80   -
81 78 #endif /* _ASM_M32R_PGTABLE_2LEVEL_H */
include/asm-m32r/posix_types.h
1 1 #ifndef _ASM_M32R_POSIX_TYPES_H
2 2 #define _ASM_M32R_POSIX_TYPES_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386, sh 2.4.18 */
7   -
8 4 /*
9 5 * This file is generally used by user-level software, so you need to
10 6 * be a little careful about namespace pollution etc. Also, we cannot
include/asm-m32r/rtc.h
1   -/* $Id: rtc.h,v 1.1.1.1 2004/03/25 04:29:22 hitoshiy Exp $ */
2   -
3 1 #ifndef __RTC_H__
4 2 #define __RTC_H__
5   -
6   -
7 3  
8 4 /* Dallas DS1302 clock/calendar register numbers. */
9 5 # define RTC_SECONDS 0
include/asm-m32r/scatterlist.h
1 1 #ifndef _ASM_M32R_SCATTERLIST_H
2 2 #define _ASM_M32R_SCATTERLIST_H
3 3  
4   -/* $Id$ */
5   -
6 4 struct scatterlist {
7 5 char * address; /* Location data is to be transferred to, NULL for
8 6 * highmem page */
include/asm-m32r/segment.h
1 1 #ifndef _ASM_M32R_SEGMENT_H
2 2 #define _ASM_M32R_SEGMENT_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 (2.4.18) */
7   -
8 4 #define __KERNEL_CS 0x10
9 5 #define __KERNEL_DS 0x18
10 6  
include/asm-m32r/sembuf.h
1 1 #ifndef _ASM_M32R_SEMBUF_H
2 2 #define _ASM_M32R_SEMBUF_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 /*
9 5 * The semid64_ds structure for m32r architecture.
10 6 * Note extra padding because this structure is passed back and forth
include/asm-m32r/setup.h
  1 +#ifndef _ASM_M32R_SETUP_H
  2 +#define _ASM_M32R_SETUP_H
  3 +
1 4 /*
2 5 * This is set up by the setup-routine at boot-time
3 6 */
... ... @@ -31,4 +34,6 @@
31 34 extern unsigned long memory_end;
32 35  
33 36 #endif /* __KERNEL__ */
  37 +
  38 +#endif /* _ASM_M32R_SETUP_H */
include/asm-m32r/shmbuf.h
1 1 #ifndef _ASM_M32R_SHMBUF_H
2 2 #define _ASM_M32R_SHMBUF_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 /*
9 5 * The shmid64_ds structure for M32R architecture.
10 6 * Note extra padding because this structure is passed back and forth
include/asm-m32r/shmparam.h
1 1 #ifndef _ASM_M32R_SHMPARAM_H
2 2 #define _ASM_M32R_SHMPARAM_H
3 3  
4   -/* $Id$ */
5   -
6 4 #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */
7 5  
8 6 #endif /* _ASM_M32R_SHMPARAM_H */
include/asm-m32r/sigcontext.h
1 1 #ifndef _ASM_M32R_SIGCONTEXT_H
2 2 #define _ASM_M32R_SIGCONTEXT_H
3 3  
4   -/* $Id$ */
5   -
6   -
7 4 struct sigcontext {
8 5 /* CPU registers */
9 6 /* Saved main processor registers. */
include/asm-m32r/siginfo.h
1 1 #ifndef _M32R_SIGINFO_H
2 2 #define _M32R_SIGINFO_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <asm-generic/siginfo.h>
7 5  
8 6 #endif /* _M32R_SIGINFO_H */
include/asm-m32r/signal.h
1 1 #ifndef _ASM_M32R_SIGNAL_H
2 2 #define _ASM_M32R_SIGNAL_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 #include <linux/types.h>
9 5 #include <linux/time.h>
10 6 #include <linux/compiler.h>
include/asm-m32r/smp.h
1 1 #ifndef _ASM_M32R_SMP_H
2 2 #define _ASM_M32R_SMP_H
3 3  
4   -/* $Id$ */
5   -
6   -
7 4 #ifdef CONFIG_SMP
8 5 #ifndef __ASSEMBLY__
9 6  
include/asm-m32r/sockios.h
1 1 #ifndef _ASM_M32R_SOCKIOS_H
2 2 #define _ASM_M32R_SOCKIOS_H
3 3  
4   -/* $Id$ */
5   -
6 4 /* Socket-level I/O control calls. */
7 5 #define FIOSETOWN 0x8901
8 6 #define SIOCSPGRP 0x8902
include/asm-m32r/spinlock_types.h
... ... @@ -20,5 +20,5 @@
20 20  
21 21 #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }
22 22  
23   -#endif
  23 +#endif /* _ASM_M32R_SPINLOCK_TYPES_H */
include/asm-m32r/stat.h
1 1 #ifndef _ASM_M32R_STAT_H
2 2 #define _ASM_M32R_STAT_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : i386 2.4.18 */
7   -
8 4 #include <asm/byteorder.h>
9 5  
10 6 struct __old_kernel_stat {
include/asm-m32r/string.h
1 1 #ifndef _ASM_M32R_STRING_H
2 2 #define _ASM_M32R_STRING_H
3 3  
4   -/* $Id$ */
5   -
6 4 #define __HAVE_ARCH_STRLEN
7 5 extern size_t strlen(const char * s);
8 6  
include/asm-m32r/syscall.h
1 1 #ifndef _ASM_M32R_SYSCALL_H
2 2 #define _ASM_M32R_SYSCALL_H
3 3  
4   -/* $Id$ */
5   -
6 4 /* Definitions for the system call vector. */
7 5 #define SYSCALL_VECTOR "2"
8 6 #define SYSCALL_VECTOR_ADDRESS "0xa0"
include/asm-m32r/system.h
... ... @@ -339,5 +339,5 @@
339 339  
340 340 #define arch_align_stack(x) (x)
341 341  
342   -#endif /* _ASM_M32R_SYSTEM_H */
  342 +#endif /* _ASM_M32R_SYSTEM_H */
include/asm-m32r/termbits.h
1 1 #ifndef _ASM_M32R_TERMBITS_H
2 2 #define _ASM_M32R_TERMBITS_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <linux/posix_types.h>
7 5  
8 6 typedef unsigned char cc_t;
... ... @@ -184,5 +182,5 @@
184 182 #define TCSADRAIN 1
185 183 #define TCSAFLUSH 2
186 184  
187   -#endif /* _ASM_M32R_TERMBITS_H */
  185 +#endif /* _ASM_M32R_TERMBITS_H */
include/asm-m32r/termios.h
1 1 #ifndef _M32R_TERMIOS_H
2 2 #define _M32R_TERMIOS_H
3 3  
4   -/* orig : i386 2.6.0-test5 */
5   -
6 4 #include <asm/termbits.h>
7 5 #include <asm/ioctls.h>
8 6  
include/asm-m32r/timex.h
1 1 #ifndef _ASM_M32R_TIMEX_H
2 2 #define _ASM_M32R_TIMEX_H
3 3  
4   -/* $Id$ */
5   -
6 4 /*
7 5 * linux/include/asm-m32r/timex.h
8 6 *
9 7 * m32r architecture timex specifications
10 8 */
11   -
12 9  
13 10 #define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE)
14 11 #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
include/asm-m32r/types.h
... ... @@ -3,10 +3,6 @@
3 3  
4 4 #ifndef __ASSEMBLY__
5 5  
6   -/* $Id$ */
7   -
8   -/* orig : i386 2.4.18 */
9   -
10 6 typedef unsigned short umode_t;
11 7  
12 8 /*
... ... @@ -59,5 +55,5 @@
59 55  
60 56 #endif /* __KERNEL__ */
61 57  
62   -#endif /* _ASM_M32R_TYPES_H */
  58 +#endif /* _ASM_M32R_TYPES_H */
include/asm-m32r/ucontext.h
1 1 #ifndef _ASM_M32R_UCONTEXT_H
2 2 #define _ASM_M32R_UCONTEXT_H
3 3  
4   -/* orig : i386 2.4.18 */
5   -
6 4 struct ucontext {
7 5 unsigned long uc_flags;
8 6 struct ucontext *uc_link;
include/asm-m32r/unaligned.h
1 1 #ifndef _ASM_M32R_UNALIGNED_H
2 2 #define _ASM_M32R_UNALIGNED_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : generic 2.4.18 */
7   -
8 4 /*
9 5 * For the benefit of those who are trying to port Linux to another
10 6 * architecture, here are some C-language equivalents.
... ... @@ -12,7 +8,6 @@
12 8  
13 9 #include <asm/string.h>
14 10  
15   -
16 11 #define get_unaligned(ptr) \
17 12 ({ __typeof__(*(ptr)) __tmp; memmove(&__tmp, (ptr), sizeof(*(ptr))); __tmp; })
18 13  
... ... @@ -21,6 +16,5 @@
21 16 memmove((ptr), &__tmp, sizeof(*(ptr))); \
22 17 (void)0; })
23 18  
24   -
25   -#endif /* _ASM_M32R_UNALIGNED_H */
  19 +#endif /* _ASM_M32R_UNALIGNED_H */
include/asm-m32r/unistd.h
1 1 #ifndef _ASM_M32R_UNISTD_H
2 2 #define _ASM_M32R_UNISTD_H
3 3  
4   -/* $Id$ */
5   -
6 4 /*
7 5 * This file contains the system call numbers.
8 6 */
include/asm-m32r/user.h
1 1 #ifndef _ASM_M32R_USER_H
2 2 #define _ASM_M32R_USER_H
3 3  
4   -/* $Id$ */
5   -
6   -/* orig : sh 2.4.18
7   - * mod : remove fpu registers
8   - */
9   -
10 4 #include <linux/types.h>
11 5 #include <asm/ptrace.h>
12 6 #include <asm/page.h>
include/asm-m32r/vga.h
1 1 #ifndef _ASM_M32R_VGA_H
2 2 #define _ASM_M32R_VGA_H
3 3  
4   -/* $Id$ */
5   -
6 4 /*
7 5 * Access to VGA videoram
8 6 *
... ... @@ -19,5 +17,5 @@
19 17 #define vga_readb(x) (*(x))
20 18 #define vga_writeb(x,y) (*(y) = (x))
21 19  
22   -#endif /* _ASM_M32R_VGA_H */
  20 +#endif /* _ASM_M32R_VGA_H */
include/asm-m32r/xor.h
1 1 #ifndef _ASM_M32R_XOR_H
2 2 #define _ASM_M32R_XOR_H
3 3  
4   -/* $Id$ */
5   -
6 4 #include <asm-generic/xor.h>
7 5  
8 6 #endif /* _ASM_M32R_XOR_H */