If a Makefile defines neither O_TARGET nor L_TARGET, let's assume a
default of 'built-in.o'. The goal of this is, of course, to eventually
get rid of O_TARGET completely.
Pavel Machek [Fri, 24 May 2002 04:55:13 +0000 (21:55 -0700)]
[PATCH] swsusp fixes
This kills unneccessary include from ide-disk.c, kills #ifdef from
reiserfs/journal.c, makes suspend_device local as it should be,
abstains from suspending devices two times in a row (typo), and makes
sure we do not run_task_queue() while we hold spinlock.
Pavel Machek [Fri, 24 May 2002 04:44:55 +0000 (21:44 -0700)]
[PATCH] swsusp: making myself maintainer
I asked Gabor if he'd like me to maintain swsusp, and he liked that
idea [<quote>Would you please take over maintaining? I offered this in
the list a while ago anyway.</quote>].
Martin Dalecki [Fri, 24 May 2002 04:16:28 +0000 (21:16 -0700)]
[PATCH] 2.5.17 IDE 70
- Apply host chip driver cleanups by Bartomiej Zonierkiewicz.
- Take the draft device type driver implementation from Adam Richter and make
it actually work with some of the drivers we have at hand. Quite a lot
of it was fixed by me as well to have the desired effects.
We have added a attach method for the sub device type drivers to make it
possible dor sub device type drivers to attach devices to the overall
infrastructure. UNIX has something like this SCSI code is implementing
something like this, just for some unknown reasons Linux block device
operations don't have it...
- ide_drive_t is finally gone. Please use struct ata_device instead.
Hint the ide.h specific byte type should go over time as well, sine there
is no need to invent something already handled by the kernel. Please use
the unambigious u8 type instead where possible.
- Add a bit of documentation about cabling issues. ide.txt needs a lot of
improvement at some time still.
[PATCH] include buffer_head.h in actual users instead of fs.h (9/10)
Make the 144 files in fs/ that need it include buffer_head.h directly.
Again some uses in the VFS files are layering violations and need to
be addressed later. The new include statement gives a nice grep pattern
for that :)
[PATCH] include buffer_head.h in actual users instead of fs.h (5/10)
Include buffer_head.h directly in the file in drivers/ that need it
(9 files). Note that most of this uses are layering violations that I
will address later.
[PATCH] include buffer_head.h in actual users instead of fs.h (1/10)
Now that fs.h grow due to the lock.h removal let's reduce it's overhead
again: Instead of penalizing ever user of fs.h with the overhead of the
buffer head interface let it's users include it directly.
This also shows nicely which parts of the core kernel still depend on the
buffer head interface, and allows that to be cleaned up properly.
This is the first of ten patches and adds the includes needed by
buffer_head.h to it and fixes it's inclusion guard.
o Standardize building math-emu.o for arch/alpha
o Remove old boilerplate code / redundant comments
o Remove unnecessary obj-m := $(sort $(obj-m)) in ALSA
o Use a shorter expression to transform 'foo.o' -> 'foo-objs'
o Define EXPORT_FLAGS (as -DEXPORT_SYMTAB) in the main Makefile
o Small rearrangement of code in Rules.make
Russell King [Thu, 23 May 2002 02:25:47 +0000 (03:25 +0100)]
[ARM] Make Acorn SCSI drivers build again.
Acorn machines will never have "highmem" support, so can
combine page + offset into the scsi pointer structure for
now.
Russell King [Thu, 23 May 2002 02:15:59 +0000 (03:15 +0100)]
[ARM] Remove old NetWinder uncompressed kernel image compatibility code.
Add/correct comments, including in decompressor code. Add arm6 cache
support to decompressor.
Russell King [Thu, 23 May 2002 02:00:44 +0000 (03:00 +0100)]
[ARM] Acorn DMA/Expansion card fixups
- Allow icside to moan if it tries to change DMA settings while
the DMA is in progress.
- Fix Acorn expansion card IRQ handling.
- Clean up IOMD DMA state machine.
Russell King [Thu, 23 May 2002 01:43:51 +0000 (02:43 +0100)]
[ARM] Miscellaneous
- Use definitions where possible.
- Fix various errors in comments.
- Fix missing max_pfn initialisation.
- Add missing device.h and errno.h include files.
- Ensure thread->flags is unsigned long for bitops.
Russell King [Thu, 23 May 2002 01:30:39 +0000 (02:30 +0100)]
[ARM] Fixups for GCC 3.x:
- Provide an ARM architecture major version number so we can use the
preprocessor more effectively to select features that ARMv4 and
above contain.
- Fix GCC 3.1 multi-line __asm__ build warnings
David S. Miller [Wed, 22 May 2002 18:00:58 +0000 (11:00 -0700)]
Sparc64 build fixes:
- Yes we really do need sched.h in central.c
- Include namei.h in solaris syscall emul layer
- Use generic_fls in sparc64 bitops.
- Add dummy asm-sparc64/suspend.h
David S. Miller [Wed, 22 May 2002 17:51:55 +0000 (10:51 -0700)]
Fix build fallout from namei.h/jiffies.h changes.
- Include dcache.h/namei.h in fs/autofs/autofs_i.h not dirhash.c
- Include list.h and spinlock.h in dcache.h
- Include list.h in mount.h and namei.h
kbuild: Consistent use of [AC]FLAGS_KERNEL and MODFLAGS
We have
o CFLAGS_KERNEL: Additional flags for files compiled into vmlinux
o AFLAGS_KERNEL: Additional flags for files assembled into vmlinux
o MODFLAGS: Additonal flags for files compiled as module
For consistency, rename MODFLAGS to CFLAGS_MODULE, introduce
AFLAGS_MODULE but leave it empty for now.
While we're at, removing "MAKING_MODULES=1", nobody is using it.
[PATCH] possible fix for broken floppy driver, take 2
Here is an updated patch for the floppy driver which got broken in
2.5.13. "read block 0 on ->revalidate()" is now implemented through
the bio interface, following a suggestion by Christoph Hellwig.
I still cannot explain why block_dev.c's ->bd_block_size change
caused data corruption, but removing that code fixes the floppy
driver and doesn't seem to cause any problems on my test box.
Roman Zippel [Wed, 22 May 2002 07:01:46 +0000 (00:01 -0700)]
[PATCH] m68k mmu update
This patch removes the quicklist support and updates m68k to the recent
page table and tlb interface changes.
It also includes some smaller cleanups:
- turn "extern inline" into "static inline"
- convert some macros into inline functions
This means we descend into the subdirectory when building
vmlinux / modules, depending on CONFIG_XXX. When we are building
vmlinux we also need to link whatever has been built in the
subdirectory, so we add it to $(obj-y) at the appropriate place
(link order is important).
Now, the extension below allows to rewrite the second case into
obj-$(CONFIG_E100) += e100/
which looks much nicer ;-) Existing behavior is not changed, and the
only prerequisite to using the extension above is that the O_TARGET in
the subdir is named "built-in.o".