Skip to content

Commit

Permalink
[PATCH] m32r: cosmetic updates and trivial fixes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hirokazu Takata authored and Linus Torvalds committed Feb 11, 2007
1 parent 3d60f84 commit fabb626
Show file tree
Hide file tree
Showing 74 changed files with 68 additions and 258 deletions.
2 changes: 0 additions & 2 deletions arch/m32r/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
* Hitoshi Yamamoto
*/

/* $Id$ */

#include <linux/init.h>
__INIT
__INITDATA
Expand Down
3 changes: 0 additions & 3 deletions arch/m32r/lib/ashxdi3.S
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* Copyright (C) 2001,2002 Hiroyuki Kondo, and Hirokazu Takata
*
*/
/* $Id$ */


;
; input (r0,r1) src
Expand Down Expand Up @@ -293,4 +291,3 @@ __lshrdi3:
#endif /* not CONFIG_ISA_DUAL_ISSUE */

.end

3 changes: 1 addition & 2 deletions arch/m32r/lib/checksum.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
/* $Id$ */


#include <linux/linkage.h>
#include <asm/assembler.h>
Expand Down Expand Up @@ -319,3 +317,4 @@ ENTRY(csum_partial_copy_generic)
nop
nop

.end
2 changes: 0 additions & 2 deletions arch/m32r/lib/delay.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* Copyright (c) 2004 Hirokazu Takata
*/

/* $Id$ */

#include <linux/param.h>
#ifdef CONFIG_SMP
#include <linux/sched.h>
Expand Down
2 changes: 0 additions & 2 deletions arch/m32r/lib/memcpy.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
* src: r1
* n : r2
*/
/* $Id$ */


.text
#include <linux/linkage.h>
Expand Down
2 changes: 0 additions & 2 deletions arch/m32r/lib/memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* ret: r0
*
*/
/* $Id$ */


.text
.global memset
Expand Down
2 changes: 0 additions & 2 deletions arch/m32r/lib/strlen.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* size_t strlen(const char *s);
*
*/
/* $Id$ */


#include <linux/linkage.h>
#include <asm/assembler.h>
Expand Down
5 changes: 1 addition & 4 deletions arch/m32r/mm/fault-nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
* 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/sched.h>
#include <linux/kernel.h>
Expand Down Expand Up @@ -67,7 +65,7 @@ void bust_spinlocks(int yes)
* without oops_in_progress set so that printk will give klogd
* 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(" ");
console_loglevel = loglevel_save;
}
Expand Down Expand Up @@ -161,4 +159,3 @@ void local_flush_tlb_all(void)
{
BUG();
}

5 changes: 1 addition & 4 deletions arch/m32r/mm/mmu.S
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* 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 <asm/assembler.h>
#include <asm/smp.h>
Expand Down Expand Up @@ -345,5 +343,4 @@ ENTRY(m32r_otlb_entrys)

#endif /* CONFIG_MMU */

.end

.end
2 changes: 0 additions & 2 deletions include/asm-m32r/a.out.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_A_OUT_H
#define _ASM_M32R_A_OUT_H

/* orig : i386 2.4.18 */

struct exec
{
unsigned long a_info; /* Use macros N_MAGIC, etc for access */
Expand Down
1 change: 0 additions & 1 deletion include/asm-m32r/addrspace.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* $Id$ */
/*
* 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
Expand Down
2 changes: 0 additions & 2 deletions include/asm-m32r/bugs.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_BUGS_H
#define _ASM_M32R_BUGS_H

/* $Id$ */

/*
* This is included by init/main.c to check for architecture-dependent bugs.
*
Expand Down
2 changes: 0 additions & 2 deletions include/asm-m32r/byteorder.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_BYTEORDER_H
#define _ASM_M32R_BYTEORDER_H

/* $Id$ */

#include <asm/types.h>

#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
Expand Down
2 changes: 0 additions & 2 deletions include/asm-m32r/cache.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_CACHE_H
#define _ASM_M32R_CACHE_H

/* $Id$ */

/* L1 cache line size */
#define L1_CACHE_SHIFT 4
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
Expand Down
1 change: 0 additions & 1 deletion include/asm-m32r/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,3 @@ do { \
memcpy(dst, src, len)

#endif /* _ASM_M32R_CACHEFLUSH_H */

3 changes: 0 additions & 3 deletions include/asm-m32r/current.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_CURRENT_H
#define _ASM_M32R_CURRENT_H

/* $Id$ */

#include <linux/thread_info.h>

struct task_struct;
Expand All @@ -15,4 +13,3 @@ static __inline__ struct task_struct *get_current(void)
#define current (get_current())

#endif /* _ASM_M32R_CURRENT_H */

2 changes: 0 additions & 2 deletions include/asm-m32r/delay.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_DELAY_H
#define _ASM_M32R_DELAY_H

/* $Id$ */

/*
* Copyright (C) 1993 Linus Torvalds
*
Expand Down
2 changes: 0 additions & 2 deletions include/asm-m32r/dma.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_DMA_H
#define _ASM_M32R_DMA_H

/* $Id$ */

#include <asm/io.h>

/*
Expand Down
3 changes: 0 additions & 3 deletions include/asm-m32r/errno.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#ifndef _ASM_M32R_ERRNO_H
#define _ASM_M32R_ERRNO_H

/* $Id$ */

#include <asm-generic/errno.h>

#endif /* _ASM_M32R_ERRNO_H */

6 changes: 1 addition & 5 deletions include/asm-m32r/ide.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_M32R_IDE_H
#define _ASM_M32R_IDE_H

/* $Id$ */

/*
* linux/include/asm-m32r/ide.h
*
Expand All @@ -15,6 +13,7 @@

#ifdef __KERNEL__

#include <asm/m32r.h>

#ifndef MAX_HWIFS
# ifdef CONFIG_BLK_DEV_IDEPCI
Expand All @@ -24,9 +23,6 @@
# endif
#endif

#include <asm/m32r.h>


#define IDE_ARCH_OBSOLETE_DEFAULTS

static __inline__ int ide_default_irq(unsigned long base)
Expand Down
5 changes: 0 additions & 5 deletions include/asm-m32r/ioctls.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#ifndef __ARCH_M32R_IOCTLS_H__
#define __ARCH_M32R_IOCTLS_H__

/* $Id$ */

/* orig : i386 2.5.67 */

#include <asm/ioctl.h>

/* 0x54 is just a magic number to make these relatively unique ('T') */
Expand Down Expand Up @@ -85,4 +81,3 @@
#define TIOCSER_TEMT 0x01 /* Transmitter physically empty */

#endif /* __ARCH_M32R_IOCTLS_H__ */

4 changes: 0 additions & 4 deletions include/asm-m32r/ipcbuf.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#ifndef _ASM_M32R_IPCBUF_H
#define _ASM_M32R_IPCBUF_H

/* $Id$ */

/* orig : i386 2.4.18 */

/*
* The ipc64_perm structure for m32r architecture.
* Note extra padding because this structure is passed back and forth
Expand Down
4 changes: 0 additions & 4 deletions include/asm-m32r/kmap_types.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#ifndef __M32R_KMAP_TYPES_H
#define __M32R_KMAP_TYPES_H

/* Dummy header just to define km_type. */


#ifdef CONFIG_DEBUG_HIGHMEM
# define D(n) __KM_FENCE_##n ,
#else
Expand All @@ -30,4 +27,3 @@ D(13) KM_TYPE_NR
#undef D

#endif /* __M32R_KMAP_TYPES_H */

11 changes: 5 additions & 6 deletions include/asm-m32r/m32104ut/m32104ut_pld.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef _M32104UT_M32104UT_PLD_H
#define _M32104UT_M32104UT_PLD_H

/*
* include/asm-m32r/m32104ut/m32104ut_pld.h
*
Expand All @@ -12,10 +15,6 @@
* this archive for more details.
*/

#ifndef _M32104UT_M32104UT_PLD_H
#define _M32104UT_M32104UT_PLD_H


#if defined(CONFIG_PLAT_M32104UT)
#define PLD_PLAT_BASE 0x02c00000
#else
Expand All @@ -35,7 +34,7 @@
#define __reg8
#define __reg16
#define __reg32
#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLY__ */

/* CFC */
#define PLD_CFRSTCR __reg16(PLD_BASE + 0x0000)
Expand Down Expand Up @@ -159,4 +158,4 @@
#define PLD_SCTXB __reg16(PLD_BASE + 0x3800c)
#define PLD_SCRXB __reg16(PLD_BASE + 0x3800e)

#endif /* _M32104UT_M32104UT_PLD_H */
#endif /* _M32104UT_M32104UT_PLD_H */
13 changes: 5 additions & 8 deletions include/asm-m32r/m32700ut/m32700ut_lan.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef _M32700UT_M32700UT_LAN_H
#define _M32700UT_M32700UT_LAN_H

/*
* include/asm-m32r/m32700ut/m32700ut_lan.h
*
Expand All @@ -8,22 +11,16 @@
* 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.
*
* $Id$
*/

#ifndef _M32700UT_M32700UT_LAN_H
#define _M32700UT_M32700UT_LAN_H


#ifndef __ASSEMBLY__
/*
* C functions use non-cache address.
*/
#define M32700UT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */)
#else
#define M32700UT_LAN_BASE (0x10000000 + NONCACHE_OFFSET)
#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLY__ */

/* ICU
* ICUISTS: status register
Expand Down Expand Up @@ -103,4 +100,4 @@
#define PLDI2CSTS_BB 0x00000010
#define PLDI2CSTS_NOACK 0x00000001 /* 0:ack, 1:noack */

#endif /* _M32700UT_M32700UT_LAN_H */
#endif /* _M32700UT_M32700UT_LAN_H */
13 changes: 5 additions & 8 deletions include/asm-m32r/m32700ut/m32700ut_lcd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef _M32700UT_M32700UT_LCD_H
#define _M32700UT_M32700UT_LCD_H

/*
* include/asm-m32r/m32700ut/m32700ut_lcd.h
*
Expand All @@ -8,22 +11,16 @@
* 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.
*
* $Id$
*/

#ifndef _M32700UT_M32700UT_LCD_H
#define _M32700UT_M32700UT_LCD_H


#ifndef __ASSEMBLY__
/*
* C functions use non-cache address.
*/
#define M32700UT_LCD_BASE (0x10000000 /* + NONCACHE_OFFSET */)
#else
#define M32700UT_LCD_BASE (0x10000000 + NONCACHE_OFFSET)
#endif /* __ASSEMBLY__ */
#endif /* __ASSEMBLY__ */

/*
* ICU
Expand Down Expand Up @@ -55,4 +52,4 @@
#define M32700UT_LCD_ICUCR19 __reg16(M32700UT_LCD_BASE + 0x300036)
#define M32700UT_LCD_ICUCR21 __reg16(M32700UT_LCD_BASE + 0x30003a)

#endif /* _M32700UT_M32700UT_LCD_H */
#endif /* _M32700UT_M32700UT_LCD_H */
Loading

0 comments on commit fabb626

Please sign in to comment.