From: Jan-Benedict G. <jb...@us...> - 2005-04-25 12:53:56
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7101 Modified Files: cacheflush.h Log Message: - Whitespace Index: cacheflush.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/cacheflush.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- cacheflush.h 28 Jul 2004 23:52:49 -0000 1.5 +++ cacheflush.h 25 Apr 2005 12:53:31 -0000 1.6 @@ -1,11 +1,11 @@ -#ifndef __VAX_CACHEFLUSH_H +#ifndef __VAX_CACHEFLUSH_H #define __VAX_CACHEFLUSH_H #include <linux/mm.h> -/* +/* * cacheflush.h. Definitions for cache structures/routines. - * Copyright atp Jan 2001 + * Copyright atp Jan 2001 */ @@ -29,23 +29,24 @@ static inline void flush_icache(void) { - /* Push a PC/PSL onto the stack so it looks like we got - an interrupt, and then REI */ + /* + * Push a PC/PSL onto the stack so it looks like we got + * an interrupt, and then REI. + */ __asm__ ( - " movpsl -(%%sp) \n" - " pushab 1f \n" - " rei \n" - "1: " : : ); + " movpsl -(%%sp) \n" + " pushab 1f \n" + " rei \n" + "1: \n"); } - -#define copy_to_user_page(vma, page, vaddr, dst, src, len) \ - do { memcpy(dst, src, len); \ - flush_icache_user_range(vma, page, vaddr, len); \ +#define copy_to_user_page(vma, page, vaddr, dst, src, len) \ + do { \ + memcpy(dst, src, len); \ + flush_icache_user_range(vma, page, vaddr, len); \ } while (0) -#define copy_from_user_page(vma, page, vaddr, dst, src, len) \ +#define copy_from_user_page(vma, page, vaddr, dst, src, len) \ memcpy(dst, src, len) - #endif /* __VAX_MM_CACHE_H */ |