microblaze: Guard __HAVE_ARCH macros with __KERNEL__ in string.h
authorSteve Magnani <steve@digidescorp.com>
Mon, 18 May 2009 01:32:07 +0000 (20:32 -0500)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 May 2009 13:56:08 +0000 (15:56 +0200)
commit6e3d4e1d16a19f8462beb5bfe5f2c464770e795e
tree04df9c8b54e5523d84df465cbd08d216da1fdbc2
parentc3055d14565516867e7a45553b90cb88d6277ec9
microblaze: Guard __HAVE_ARCH macros with __KERNEL__ in string.h

A polarity reversal in the __KERNEL__ guard prevents the __HAVE_ARCH
flags from being defined in kernel compilation.

I noticed that there's now an option for assembly-optimized versions of
memcpy and memmove. I believe this may be buggy; when I turn it on, all
my printk output gets smashed together, as if the newlines aren't getting
copied.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/string.h