Make the loop support stuff be much less evil, and make it cope

with 2.6.x asm/posix_types.h, which has done singularly evil thing
by yanking __kernel_dev_t and renaming it.  The loop interface was
really poorly designed in the first place.  The new 64 bit loop
interface looks to be somewhat less horrible, too bad it is only
present in 2.6.x kernels.
 -Erik
This commit is contained in:
Eric Andersen
2004-02-06 07:16:36 +00:00
parent 7495b0d4b1
commit ef8cd3be17
4 changed files with 34 additions and 81 deletions

View File

@@ -96,9 +96,3 @@ $(LIBBB_MOBJS2): $(LIBBB_MSRC2)
$(LIBBB_MOBJS3): $(LIBBB_MSRC3)
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -DL_$(notdir $*) -c $< -o $@
$(LIBBB_DIR)loop.o: $(LIBBB_DIR)loop.h
$(LIBBB_DIR)loop.h: $(LIBBB_DIR)mk_loop_h.sh
@ $(SHELL) $< > $@