mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
sh: comment tidying for sh64->sh migration.
Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
4b27c47cf8
commit
a23ba43573
30 changed files with 150 additions and 190 deletions
|
|
@ -1,15 +1,14 @@
|
|||
#ifndef __ASM_SH64_CHECKSUM_H
|
||||
#define __ASM_SH64_CHECKSUM_H
|
||||
#ifndef __ASM_SH_CHECKSUM_64_H
|
||||
#define __ASM_SH_CHECKSUM_64_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* include/asm-sh64/checksum.h
|
||||
* include/asm-sh/checksum_64.h
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -76,5 +75,4 @@ static inline __sum16 ip_compute_csum(const void *buff, int len)
|
|||
return csum_fold(csum_partial(buff, len, 0));
|
||||
}
|
||||
|
||||
#endif /* __ASM_SH64_CHECKSUM_H */
|
||||
|
||||
#endif /* __ASM_SH_CHECKSUM_64_H */
|
||||
|
|
|
|||
|
|
@ -1,16 +1,15 @@
|
|||
#ifndef __ASM_SH64_CACHE_H
|
||||
#define __ASM_SH64_CACHE_H
|
||||
#ifndef __ASM_SH_CPU_SH5_CACHE_H
|
||||
#define __ASM_SH_CPU_SH5_CACHE_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* include/asm-sh64/cache.h
|
||||
* include/asm-sh/cpu-sh5/cache.h
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
* Copyright (C) 2003, 2004 Paul Mundt
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#define L1_CACHE_SHIFT 5
|
||||
|
|
@ -95,4 +94,4 @@
|
|||
* No Instruction Cache defines required, then.
|
||||
*/
|
||||
|
||||
#endif /* __ASM_SH64_CACHE_H */
|
||||
#endif /* __ASM_SH_CPU_SH5_CACHE_H */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef __ASM_SH64_CACHEFLUSH_H
|
||||
#define __ASM_SH64_CACHEFLUSH_H
|
||||
#ifndef __ASM_SH_CPU_SH5_CACHEFLUSH_H
|
||||
#define __ASM_SH_CPU_SH5_CACHEFLUSH_H
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
|
|
@ -31,5 +31,5 @@ extern void flush_icache_user_range(struct vm_area_struct *vma,
|
|||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#endif /* __ASM_SH64_CACHEFLUSH_H */
|
||||
#endif /* __ASM_SH_CPU_SH5_CACHEFLUSH_H */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
#ifndef __ASM_SH64_IRQ_H
|
||||
#define __ASM_SH64_IRQ_H
|
||||
#ifndef __ASM_SH_CPU_SH5_IRQ_H
|
||||
#define __ASM_SH_CPU_SH5_IRQ_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* include/asm-sh64/irq.h
|
||||
* include/asm-sh/cpu-sh5/irq.h
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
|
||||
|
|
@ -115,4 +114,4 @@ extern int intc_evt_to_irq[(0xE20/0x20)+1];
|
|||
int intc_irq_describe(char* p, int irq);
|
||||
extern int platform_int_priority[NR_INTC_IRQS];
|
||||
|
||||
#endif /* __ASM_SH64_IRQ_H */
|
||||
#endif /* __ASM_SH_CPU_SH5_IRQ_H */
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
#ifndef __ASM_SH64_REGISTERS_H
|
||||
#define __ASM_SH64_REGISTERS_H
|
||||
#ifndef __ASM_SH_CPU_SH5_REGISTERS_H
|
||||
#define __ASM_SH_CPU_SH5_REGISTERS_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* include/asm-sh64/registers.h
|
||||
* include/asm-sh/cpu-sh5/registers.h
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
* Copyright (C) 2004 Richard Curnow
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifdef __ASSEMBLY__
|
||||
|
|
@ -103,4 +103,4 @@
|
|||
#define __USR __str(USR)
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __ASM_SH64_REGISTERS_H */
|
||||
#endif /* __ASM_SH_CPU_SH5_REGISTERS_H */
|
||||
|
|
|
|||
|
|
@ -1,21 +1,20 @@
|
|||
#ifndef __ASM_SH64_PGTABLE_H
|
||||
#define __ASM_SH64_PGTABLE_H
|
||||
#ifndef __ASM_SH_PGTABLE_64_H
|
||||
#define __ASM_SH_PGTABLE_64_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
* include/asm-sh/pgtable_64.h
|
||||
*
|
||||
* include/asm-sh64/pgtable.h
|
||||
* This file contains the functions and defines necessary to modify and use
|
||||
* the SuperH page table tree.
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
* Copyright (C) 2003, 2004 Paul Mundt
|
||||
* Copyright (C) 2003, 2004 Richard Curnow
|
||||
*
|
||||
* This file contains the functions and defines necessary to modify and use
|
||||
* the SuperH page table tree.
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <linux/threads.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/page.h>
|
||||
|
|
@ -297,4 +296,4 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
|
|||
#define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
||||
#define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
||||
|
||||
#endif /* __ASM_SH64_PGTABLE_H */
|
||||
#endif /* __ASM_SH_PGTABLE_64_H */
|
||||
|
|
|
|||
|
|
@ -1,21 +1,17 @@
|
|||
#ifndef __ASM_SH64_STRING_H
|
||||
#define __ASM_SH64_STRING_H
|
||||
#ifndef __ASM_SH_STRING_64_H
|
||||
#define __ASM_SH_STRING_64_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* include/asm-sh64/string.h
|
||||
* include/asm-sh/string_64.h
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
*
|
||||
* Empty on purpose. ARCH SH64 ASM libs are out of the current project scope.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#define __HAVE_ARCH_MEMCPY
|
||||
|
||||
extern void *memcpy(void *dest, const void *src, size_t count);
|
||||
|
||||
#endif
|
||||
#endif /* __ASM_SH_STRING_64_H */
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
#ifndef __ASM_SH64_UACCESS_H
|
||||
#define __ASM_SH64_UACCESS_H
|
||||
#ifndef __ASM_SH_UACCESS_64_H
|
||||
#define __ASM_SH_UACCESS_64_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* include/asm-sh64/uaccess.h
|
||||
* include/asm-sh/uaccess_64.h
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
* Copyright (C) 2003, 2004 Paul Mundt
|
||||
|
|
@ -20,8 +16,10 @@
|
|||
* Copyright (C) 1996, 1997, 1998 by Ralf Baechle
|
||||
* and i386 version.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include <linux/errno.h>
|
||||
#include <linux/sched.h>
|
||||
|
||||
|
|
@ -301,4 +299,4 @@ struct exception_table_entry
|
|||
extern unsigned long search_exception_table(unsigned long addr);
|
||||
extern const struct exception_table_entry *search_exception_tables (unsigned long addr);
|
||||
|
||||
#endif /* __ASM_SH64_UACCESS_H */
|
||||
#endif /* __ASM_SH_UACCESS_64_H */
|
||||
|
|
|
|||
|
|
@ -1,21 +1,19 @@
|
|||
#ifndef __ASM_SH64_UNISTD_H
|
||||
#define __ASM_SH64_UNISTD_H
|
||||
#ifndef __ASM_SH_UNISTD_64_H
|
||||
#define __ASM_SH_UNISTD_64_H
|
||||
|
||||
/*
|
||||
* 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.
|
||||
* include/asm-sh/unistd_64.h
|
||||
*
|
||||
* include/asm-sh64/unistd.h
|
||||
* This file contains the system call numbers.
|
||||
*
|
||||
* Copyright (C) 2000, 2001 Paolo Alberelli
|
||||
* Copyright (C) 2003 - 2007 Paul Mundt
|
||||
* Copyright (C) 2004 Sean McGoogan
|
||||
*
|
||||
* This file contains the system call numbers.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#define __NR_restart_syscall 0
|
||||
#define __NR_exit 1
|
||||
#define __NR_fork 2
|
||||
|
|
@ -414,4 +412,4 @@
|
|||
#endif
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* __ASM_SH64_UNISTD_H */
|
||||
#endif /* __ASM_SH_UNISTD_64_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue