lkml.org 
[lkml]   [2008]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] x86 cleanup: convert round_up() to roundup()
Date
The x86 architecture declares its own round_up macro. But there is a generic
one in <linux/kernel.h> which can also be used. This patchset replaces the x86
round_up() macro with the generic roundup() one where possible.
The patches have been compile-tested for 32 and 64 bit and boot-tested for 64
bit.
If we can fix the other places too we can get rid of the x86 specific
round_up() in the future.

diffstat:

arch/x86/kernel/pci-dma.c | 2 +-
arch/x86/mm/discontig_32.c | 2 +-
arch/x86/mm/init_64.c | 8 ++++----
arch/x86/mm/numa_64.c | 10 +++++-----
arch/x86/mm/pageattr.c | 2 +-
5 files changed, 12 insertions(+), 12 deletions(-)





\
 
 \ /
  Last update: 2008-07-25 16:51    [W:0.588 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site