diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-06-17 18:13:50 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-08 03:50:21 (GMT) |
commit | 551a232c87b7781712c57c31f3e0851303d9f591 (patch) | |
tree | bf0ea671b327dec52804890bb056b279787b0b86 /arch/powerpc/sysdev | |
parent | 01cc82623aea0b96ee2cba4534d1954ad793cfc3 (diff) | |
download | linux-551a232c87b7781712c57c31f3e0851303d9f591.tar.xz |
powerpc/pseries: Use pr_devel() in pseries LPAR HPTE routines
pr_debug() can now result in code being generated even when DEBUG
is not defined. That's not really desirable in some places.
In particular, pSeries_lpar_hpte_insert() goes from 185 instructions
to 77 instructions as a result of this patch. Luckily that code
isn't called very often ...
With CONFIG_DYNAMIC_DEBUG=y:
size before:
text data bss dec hex filename
7284 1552 296 9132 23ac platforms/pseries/lpar.o
size after:
text data bss dec hex filename
5806 1096 296 7198 1c1e platforms/pseries/lpar.o
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions