]> git.baikalelectronics.ru Git - kernel.git/commit
x86: replace hardcoded number
authorGlauber Costa <gcosta@redhat.com>
Fri, 11 Jul 2008 19:06:40 +0000 (16:06 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Oct 2008 08:21:44 +0000 (10:21 +0200)
commit350e25f4e0f8871195ab436ac44e6f6717c46479
treee1a91687a89b0666e3f75646f1d0148cbba6d834
parent0ac243d63cadf80aa83c1202095ce837730220c3
x86: replace hardcoded number

Replace "4" in time_32.c code by sizeof(long).
This way, it can work on x86_64 too.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/time_32.c