]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
MN10300: Clean up the misalignment handler a little
authorDavid Howells <dhowells@redhat.com>
Wed, 12 Nov 2008 15:34:59 +0000 (15:34 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Nov 2008 18:41:17 +0000 (10:41 -0800)
commit31ea24bba77a16d3220b0822838785cbafb78175
tree8a3936344453bb04506ea9b8cbca60a84b7da76d
parent5d2007ebc278525cbe8d2e3ef559a4b191ee4ded
MN10300: Clean up the misalignment handler a little

Clean up the MN10300 misalignment handler a little by:

 (1) Use ilog2() rather than doing implementing log2() locally.

 (2) Make format_tbl[] const and static.

 (3) Making the debugging prints more consistent.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/mm/misalignment.c