Subject: [PATCH 8/9] um: fix strrchr problems
What are the problems?
On Mon, 29 Aug 2011 18:13:38 +0200
Richard Weinberger<richard@xxxxxx> wrote:
From: Al Viro<viro@xxxxxxxxxxxxxxxx>
Several years old patch, originally by jdike, I think...
Signed-off-by: Al Viro<viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Richard Weinberger<richard@xxxxxx>
---
arch/um/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/Makefile b/arch/um/Makefile
index fab8121..c0f712c 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -41,7 +41,7 @@ KBUILD_CPPFLAGS += -I$(srctree)/$(ARCH_DIR)/sys-$(SUBARCH)
KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \
$(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \
-Din6addr_loopback=kernel_in6addr_loopback \
- -Din6addr_any=kernel_in6addr_any
+ -Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr
KBUILD_AFLAGS += $(ARCH_INCLUDE)
z:/usr/src/linux-3.1-rc4> grep -r kernel_strrchr .
z:/usr/src/linux-3.1-rc4>
ok, I give up. How does this work?