[PATCH] Fix -Wdeclaration-after-statement warnings for x86-64
commit1faa6343d9cb48eff4eb1a3e70a508852a363b30
authorAndi Kleen <ak@muc.de>
Sun, 5 Oct 2003 04:42:19 +0000 (4 21:42 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 5 Oct 2003 04:42:19 +0000 (4 21:42 -0700)
tree15598a9c2f0e3d09b361bd7f99bbfcbcade953b7
parent9df138cfd8af60ebdca9576df8fdd864254c6923
[PATCH] Fix -Wdeclaration-after-statement warnings for x86-64

Fix warnings on compilers that support -Wdeclaration-after-statement
in the x86-64 specific code. x86-64 was happily using ISO-C99 code
before because it only uses gcc 3+ which is ISO-C99 compliant, but
unfortunately this warning was added in the top level Makefile.

From Bryan O'Sullivan.
arch/x86_64/ia32/sys_ia32.c
arch/x86_64/mm/init.c
include/asm-x86_64/uaccess.h