[PATCH] Use .balign rather than .align for v850 asm funcs

Miles Bader (miles@lsi.nec.co.jp)
Tue, 18 Feb 2003 15:15:09 +0900 (JST)


Removes a bunch of unnecessary nops... :-)

diff -ruN -X../cludes linux-2.5.62-uc0.orig/include/asm-v850/asm.h linux-2.5.62-uc0/include/asm-v850/asm.h
--- linux-2.5.62-uc0.orig/include/asm-v850/asm.h 2002-11-28 10:25:08.000000000 +0900
+++ linux-2.5.62-uc0/include/asm-v850/asm.h 2003-02-18 11:41:09.000000000 +0900
@@ -1,8 +1,8 @@
/*
* include/asm-v850/asm.h -- Macros for writing assembly code
*
- * Copyright (C) 2001,02 NEC Corporation
- * Copyright (C) 2001,02 Miles Bader <miles@gnu.org>
+ * Copyright (C) 2001,02,03 NEC Corporation
+ * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
*
* 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
@@ -12,7 +12,7 @@
*/

#define G_ENTRY(name) \
- .align 4; \
+ .balign 4; \
.globl name; \
.type name,@function; \
name
@@ -24,7 +24,7 @@
.size name,.-name

#define L_ENTRY(name) \
- .align 4; \
+ .balign 4; \
.type name,@function; \
name
#define L_DATA(name) \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/