10 Jun, 2009
17 commits
-
'drop' variable is unused.
'ppc' and 'sparc64' directories don't exist in arch/,
and I think their headers can be well exported now, so
just remove them.Signed-off-by: WANG Cong
Signed-off-by: Sam Ravnborg -
- add .init.rodata to INIT_DATA, and group all initconst flavors
together
- move strings generated from __setup_param() into .init.rodata
- add .*init.rodata to modpost's sets of init sections
- make modpost warn about references between meminit and cpuinit
as well as memexit and cpuexit sections (as CPU and memory
hotplug are independently selectable features)Signed-off-by: Jan Beulich
Signed-off-by: Sam Ravnborg -
Latest Debian policy is 3.8.1.
Even if we are not yet compliant to it strive for the latest.Signed-off-by: maximilian attems
Signed-off-by: Frans Pop
Acked-by: Andres Salomon
Signed-off-by: Sam Ravnborg -
Section "base" has been removed, the base is defined by Priority field.
For Squeeze the section should be "kernel", but as that's not yet
supported for Sarge and Etch we stay with admin for now.Signed-off-by: maximilian attems
Signed-off-by: Frans Pop
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
kernel-image naming has been dropped for the Lenny release
and was only transitional for Etch.As it builds modules it provides linux-modules-$version.
Signed-off-by: maximilian attems
Signed-off-by: Frans Pop
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
The binary package that make deb-pkg creates is a linux-image.
To be fixed may also be the addition of $DEB_ARCH.Signed-off-by: maximilian attems
Signed-off-by: Frans Pop
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
The Source: field is defined as the source package in the package
archive from which a binary packages are built. As deb-pkg does not
generate a source package, we should avoid to use any existing source
packages here.Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Try harder to find email and maintainer name.
Debian's own devscripts all use DEBEMAIL or DEBFULLNAME prior to an
eventual EMAIL or NAME environment variable. Match their logic."Anonymous" sounds nicer then "Kernel Compiler" if no name is found.
Signed-off-by: maximilian attems
Signed-off-by: Frans Pop
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
On Thursday 23 April 2009, Frans Pop wrote:
Add a basic debian/copyright to the binary packages.Based on an earlier patch from Maximilian Attems.
Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Hook scripts in the default directory /etc/kernel are also executed by
official Debian kernel packages as well as kernel packages created using
make-kpkg. Allow to specify an alternative hook scripts directory by
exporting the environment variable KDEB_HOOKDIR.Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Allow to specify a custom revision for the generated .deb by
exporting the environment variable KDEB_PKGVERSION.Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
The Debian packaging scripts created by the deb-pkg target do not pass
on the standard Debian maintainer script parameters to hook scripts,
which means that those scripts cannot tell whether they are being called
during e.g. install vs. upgrade, or removal vs. purge of the package.As there are several variantions in how hook scripts are called from
kernel packages, we pass the parameters in the environment variable
DEB_MAINT_PARAMS rather than as extra arguments.Bump version of builddep script to 1.3.
Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Not all architectures prepend the $(boot) path in $(KBUILD_IMAGE).
Allow for that fact in the builddeb script. Example is arm.Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Factor out code to build package into separate function and
only write "source" section for the debian/control file once.Signed-off-by: Frans Pop
Acked-by: maximilian attems
Cc: Andres Salomon
Signed-off-by: Sam Ravnborg -
Minor coding style improvements and typo fix in leading comment.
Signed-off-by: Frans Pop
Cc: Andres Salomon
Acked-by: maximilian attems
Signed-off-by: Sam Ravnborg -
Implement support for comment entries within choice groups. Comment entries
are displayed visually distinct from normal configs, and selecting them is
a no-op.Signed-off-by: Peter Korsgaard
Cc: Roman Zippel
Signed-off-by: Sam Ravnborg
09 Jun, 2009
5 commits
-
Our async work synchronization was broken by "async: make sure
independent async domains can't accidentally entangle" (commit
d5a877e8dd409d8c702986d06485c374b705d340), because it would report
the wrong lowest active async ID when there was both running and
pending async work.This caused things like no being able to read the root filesystem,
resulting in missing console devices and inability to run 'init',
causing a boot-time panic.This fixes it by properly returning the lowest pending async ID: if
there is any running async work, that will have a lower ID than any
pending work, and we should _not_ look at the pending work list.There were alternative patches from Jaswinder and James, but this one
also cleans up the code by removing the pointless 'ret' variable and
the unnecesary testing for an empty list around 'for_each_entry()' (if
the list is empty, the for_each_entry() thing just won't execute).Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=13474
Reported-and-tested-by: Chris Clayton
Cc: Jaswinder Singh Rajput
Cc: James Bottomley
Cc: Arjan van de Ven
Signed-off-by: Linus Torvalds -
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
MIPS: Outline udelay and fix a few issues.
MIPS: ioctl.h: Fix headers_check warnings
MIPS: Cobalt: PCI bus is always required to obtain the board ID
MIPS: Kconfig: Remove "Support for" from Cavium system type
MIPS: Sibyte: Honor CONFIG_CMDLINE
SSB: BCM47xx: Export ssb_watchdog_timer_set -
The previous patch submission had a I typo I didn't catch but Bartlomiej
noted. Guess this proves the point about any patch being risky late in an rcSigned-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
* 'kvm-updates/2.6.30' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
KVM: Explicity initialize cpus_hardware_enabled -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
pdc202xx_old: fix resetproc() method
pdc202xx_old: fix 'pdc20246_dma_ops'
08 Jun, 2009
9 commits
-
Outlining fixes the issue were on certain CPUs such as the R10000 family
the delay loop would need an extra cycle if it overlaps a cacheline
boundary.The rewrite also fixes build errors with GCC 4.4 which was changed in
way incompatible with the kernel's inline assembly.Relying on pure C for computation of the delay value removes the need for
explicit. The price we pay is a slight slowdown of the computation - to
be fixed on another day.Signed-off-by: Ralf Baechle
-
Make ioctl.h compatible with asm-generic/ioctl.h and userspace
fix the following 'make headers_check' warning:
usr/include/asm-mips/ioctl.h:64: extern's make no sense in userspace
Signed-off-by: Jaswinder Singh Rajput
Signed-off-by: Ralf Baechle -
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle -
Signed-off-by: Yoichi Yuasa
Acked-by: David Daney
Signed-off-by: Ralf Baechle -
Original patch by Imre Kaloz .
Signed-off-by: Ralf Baechle
-
this patch export ssb_watchdog_timer_set to allow to use it in a Linux
watchdog driver.Signed-off-by: Matthieu CASTET
Acked-by : Michael Buesch
Signed-off-by: Ralf Baechle -
* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] 5543/1: arm: serial amba: add missing declaration in serial.h
[ARM] pxa: fix pxa27x_udc default pullup GPIO
[ARM] pxa/imote2: fix UCAM sensor board ADC model number
mx[23]: don't put clock lookups in __initdata
fix oops when using console=ttymxcN with N > 0
[ARM] ARMv7 errata: only apply fixes when running on applicable CPU
[ARM] 5534/1: kmalloc must return a cache line aligned buffer -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
sdhci-of: Fix the wrong accessor to HOSTVER register
mvsdio: fix config failure with some high speed SDHC cards
mvsdio: ignore high speed timing requests from the core
mmc/omap: Use disable_irq_nosync() from within irq handlers.
sdhci-of: Add fsl,esdhc as a valid compatible to bind against
mvsdio: allow automatic loading when modular
mxcmmc: Fix missing return value checking in DMA setup code.
mxcmmc : Reset the SDHC hardware if software timeout occurs.
omap_hsmmc: Trivial fix for a typo in comment
mxcmmc: decrease minimum frequency to make MMC cards work -
Under CONFIG_MAXSMP, cpus_hardware_enabled is allocated from the heap and
not statically initialized. This causes a crash on reboot when kvm thinks
vmx is enabled on random nonexistent cpus and accesses nonexistent percpu
lists.Fix by explicitly clearing the variable.
Cc: stable@kernel.org
Reported-and-tested-by: Yinghai Lu
Signed-off-by: Avi Kivity
07 Jun, 2009
7 commits
-
This header is sometimes included in the uncompress stage to get
register values, but no can be included there.
So declare "struct amba_device" here before using it in a prototype.Signed-off-by: Alessandro Rubini
Acked-by: Andrea Gallo
Signed-off-by: Russell King -
pdc202xx_reset() calls pdc202xx_reset_host() twice, for both channels, while
that function actually twiddles the single, shared software reset bit -- the
net effect is a duplicated reset and horrendous 4 second delay happening not
only on a channel reset but also when dma_lost_irq() and dma_clear() methods
are called. Fold pdc202xx_reset_host() into pdc202xx_reset(), fix printk(),
and move it before the actual reset...Signed-off-by: Sergei Shtylyov
Signed-off-by: Bartlomiej Zolnierkiewicz -
Commit ac95beedf8bc97b24f9540d4da9952f07221c023 (ide: add struct ide_port_ops
(take 2)) erroneously converted the driver's dma_timeout() and dma_lost_irq()
methods to call the driver's resetproc() method regardless of whether it was
defined for this specific controller while it hadn't been defined and hence
called for PDC20246. So the dma_clear() method, the successor of dma_timeout(),
shouldn't exist and the dma_lost_irq() method should be standard for PDC20246.Signed-off-by: Sergei Shtylyov
Signed-off-by: Bartlomiej Zolnierkiewicz -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
x86/pci: fix mmconfig detection with 32bit near 4g
PCI: use fixed-up device class when configuring device -
CONFIG_IMA=y inode activity leaks iint_cache and radix_tree_node objects
until the system runs out of memory. Nowhere is calling ima_inode_free()
a.k.a. ima_iint_delete(). Fix that by calling it from destroy_inode().Signed-off-by: Hugh Dickins
Signed-off-by: Linus Torvalds -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
ext3/4 with synchronous writes gets wedged by Postfix
Fix nobh_truncate_page() to not pass stack garbage to get_block() -
* 'upstream-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[libata] pata_ali: Use IGN_SIMPLEX
06 Jun, 2009
2 commits
-
OK, that's probably the easiest way to do that, as much as I don't like it...
Since iget() et.al. will not accept I_FREEING (will wait to go away
and restart), and since we'd better have serialization between new/free
on fs data structures anyway, we can afford simply skipping I_FREEING
et.al. in insert_inode_locked().We do that from new_inode, so it won't race with free_inode in any interesting
ways and it won't race with iget (of any origin; nfsd or in case of fs
corruption a lookup) since both still will wait for I_LOCK.Reviewed-by: "Theodore Ts'o"
Acked-by: Jan Kara
Tested-by: David Watson
Signed-off-by: Al Viro -
The nobh_truncate_page() function is used by ext2, exofs, and jfs. Of
these three, only ext2 and jfs's get_block() function pays attention
to bh->b_size --- which is normally always the filesystem blocksize
except when the get_block() function is called by either
mpage_readpage(), mpage_readpages(), or the direct I/O routines in
fs/direct_io.c.Unfortunately, nobh_truncate_page() does not initialize map_bh before
calling the filesystem-supplied get_block() function. So ext2 and jfs
will try to calculate the number of blocks to map by taking stack
garbage and shifting it left by inode->i_blkbits. This should be
*mostly* harmless (except the filesystem will do some unnneeded work)
unless the stack garbage is less than filesystem's blocksize, in which
case maxblocks will be zero, and the attempt to find out whether or
not the filesystem has a hole at a given logical block will fail, and
the page cache entry might not get zero'ed out.Also if the stack garbage in in map_bh->state happens to have the
BH_Mapped bit set, there could be an attempt to call readpage() on a
non-existent page, which could cause nobh_truncate_page() to return an
error when it should not.Fix this by initializing map_bh->state and map_bh->size.
Fortunately, it's probably fairly unlikely that ext2 and jfs users
mount with nobh these days.Signed-off-by: "Theodore Ts'o"
Cc: Dave Kleikamp
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Al Viro