]> git.baikalelectronics.ru Git - kernel.git/commit
x86: array can become static
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Sun, 20 Apr 2008 02:54:33 +0000 (06:54 +0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:46 +0000 (17:35 +0200)
commit732b1bc50c63406c263d31cb33f9c7d5a71bbb28
tree3f5ab57914b285b1f7ac06f4117c98ad9cbf8a0a
parent9e54063032c3e09cfdf456bdea0d6d814f538d0b
x86: array can become static

In arch/x86/kernel/setup_64.c, the standard_io_resources array
is needlessly defined as global. This patch makes this variable
static.

This patch was successfully build-tested using the defconfig
for x86_64. Runtime test was performed by booting a 64-bit x86
box up to the shell prompt.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_64.c