]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
13 years agoMerge branch 'packaging' into for-next
Michal Marek [Fri, 7 Jan 2011 21:46:16 +0000 (21:46 +0000)]
Merge branch 'packaging' into for-next

13 years agodeb-pkg: s/hdr/kernel_headers_/ && s/header/libc_headers_/
maximilian attems [Fri, 7 Jan 2011 15:13:06 +0000 (16:13 +0100)]
deb-pkg: s/hdr/kernel_headers_/ && s/header/libc_headers_/

hdrpackage and headerpackage are not intuitive names,
use proposed alternatives by Michel Marek.

While touching them move the mkdir of the kernel_headers dir up
and fix it for paranoid umask.

CC: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agodeb-pkg: Make deb-pkg generate a seperate linux-libc-dev deb
maximilian attems [Sat, 1 Jan 2011 15:44:13 +0000 (16:44 +0100)]
deb-pkg: Make deb-pkg generate a seperate linux-libc-dev deb

userland dev likes latest incarnation of that userland API.
make it easy to also build it on make deb-pkg invocation:

dpkg-deb: building package `linux-libc-dev' in `../linux-libc-dev_2.6.32-rc6-4_amd64.deb'.

Last year patch rebased on top of latest deb-pkg changes.

Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kconfig' into for-next
Michal Marek [Fri, 7 Jan 2011 14:47:49 +0000 (14:47 +0000)]
Merge branch 'kconfig' into for-next

13 years agonconf: handle comment entries within choice/endchoice
Peter Korsgaard [Thu, 6 Jan 2011 15:42:45 +0000 (16:42 +0100)]
nconf: handle comment entries within choice/endchoice

Equivalent to af6c1598 (kconfig: handle comment entries within
choice/endchoice), but for nconfig instead.

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 <jacmet@sunsite.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Fri, 7 Jan 2011 13:51:35 +0000 (13:51 +0000)]
Merge branch 'kbuild' into for-next

13 years agomkuboot.sh: Fail if mkimage is missing
Roland Stigge [Fri, 17 Dec 2010 16:19:17 +0000 (17:19 +0100)]
mkuboot.sh: Fail if mkimage is missing

on building an uImage, I get:

$ make uImage
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  Kernel: arch/arm/boot/Image is ready
  SHIPPED arch/arm/boot/compressed/lib1funcs.S
  AS      arch/arm/boot/compressed/lib1funcs.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
  Image arch/arm/boot/uImage is ready
$

I.e. it says: "uImage is ready" even though the uImage file doesn't
exist because mkimage is missing.

I propose the attached patch.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Wed, 5 Jan 2011 22:52:07 +0000 (22:52 +0000)]
Merge branch 'kbuild' into for-next

13 years agogen_init_cpio: checkpatch fixes
Andrew Morton [Wed, 5 Jan 2011 22:49:53 +0000 (23:49 +0100)]
gen_init_cpio: checkpatch fixes

Cc: Jesper Juhl <jj@chaosbits.net>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'rc-fixes' into for-next
Michal Marek [Wed, 29 Dec 2010 22:32:15 +0000 (22:32 +0000)]
Merge branch 'rc-fixes' into for-next

13 years agokconfig: fix undesirable side effect of adding "visible" menu attribute
Jan Beulich [Thu, 9 Dec 2010 08:11:38 +0000 (08:11 +0000)]
kconfig: fix undesirable side effect of adding "visible" menu attribute

This lead to non-selected, non-user-selectable options to be written
out to .config. This is not only pointless, but also preventing the
user to be prompted should any of those options eventually become
visible (e.g. by de-selecting the *_AUTO options the "visible"
attribute was added for.

Furthermore it is quite logical for the "visible" attribute of a menu
to control the visibility of all contained prompts, which is what the
patch does.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Wed, 29 Dec 2010 14:07:27 +0000 (14:07 +0000)]
Merge branch 'kbuild' into for-next

13 years agogen_init_cpio: Avoid race between call to stat() and call to open()
Jesper Juhl [Fri, 24 Dec 2010 20:28:56 +0000 (21:28 +0100)]
gen_init_cpio: Avoid race between call to stat() and call to open()

In usr/gen_init_cpio.c::cpio_mkfile() a call to stat() is made based on
pathname, subsequently the file is open()'ed and then the value of the
initial stat() call is used to allocate a buffer. This is not safe since
the file may change between the call to stat() and the call to open().
Safer to just open() the file and then do fstat() using the filedescriptor
returned by open.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'packaging' into for-next
Michal Marek [Wed, 29 Dec 2010 13:25:57 +0000 (13:25 +0000)]
Merge branch 'packaging' into for-next

13 years agokbuild: create linux-headers package in deb-pkg
Theodore Ts'o [Fri, 24 Dec 2010 14:42:10 +0000 (09:42 -0500)]
kbuild: create linux-headers package in deb-pkg

Create a linux-headers-$KVER.deb package which can be used to build
external modules without having the source tree around.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Mon, 27 Dec 2010 23:52:32 +0000 (23:52 +0000)]
Merge branch 'kbuild' into for-next

13 years agomodpost: Fix address calculation in reloc_location()
Olof Johansson [Fri, 10 Dec 2010 08:09:23 +0000 (02:09 -0600)]
modpost: Fix address calculation in reloc_location()

This patch fixes a segfault in modpost that is observed when the gold
linker is used to link the input objects.

The problem is that reloc_location (modpost.c) is computing the
address of the relocation target incorrectly. Here, elf->hdr points
to the beginning of the ELF file in memory, sechdr points to the
relocation section header, section is the index of the section
being relocated, and sechdrs[section].sh_offset would be the offset
of that section, relative to the beginning of the ELF file. Adding
elf->hdr + sechdrs[section].sh_offset gives you the address of the
beginning of the section, and adding r->r_offset to that gives you the
address of the location to be relocated. You do not need to subtract
sechdrs[section].sh_addr from that -- the result of this is an address
outside the file, and causes the segfault when addend_386_rel tries to
dereference it.

This bug is not observed when GNU ld is used to link the inputs. The
object file ubuntu/omnibook/omnibook.o is the result of an ld -r of
several other files.  When GNU ld does an ld -r, it sets the vaddr
field for each section to 0, but gold lays out the section addresses
sequentially instead:

Section Headers:
 [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
 [ 0]                   NULL            00000000 000000 000000 00      0   0  0
 [ 1] .text             PROGBITS        00000000 000034 004794 00  AX  0   0  4
 [ 2] .data             PROGBITS        0000b9d0 0047c8 0009c0 00  WA  0   0  4
 [ 3] .bss              NOBITS          000162f8 005188 00013c 00  WA  0   0  4
 [ 4] .rodata.str1.1    PROGBITS        00004f2d 0052c4 001b1a 01 AMS  0   0  1
 [ 5] .init.text        PROGBITS        00004794 006dde 0005fa 00  AX  0   0  1
 [ 6] .exit.text        PROGBITS        00004d8e 0073d8 00018a 00  AX  0   0  1
  ...

So the bug in the tool remained undiscovered because the section's vaddr
always happened to be 0.

Signed-off-by: Raymes Khoury <raymes@google.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kconfig' into for-next
Michal Marek [Mon, 27 Dec 2010 20:49:27 +0000 (20:49 +0000)]
Merge branch 'kconfig' into for-next

13 years agokconfig: fix warning
Arnaud Lacombe [Thu, 23 Dec 2010 08:25:16 +0000 (03:25 -0500)]
kconfig: fix warning

In file included from scripts/kconfig/zconf.tab.c:2502:
scripts/kconfig/expr.c:1033: warning: no previous prototype for 'expr_simplify_unmet_dep'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Wed, 22 Dec 2010 22:24:47 +0000 (22:24 +0000)]
Merge branch 'kbuild' into for-next

13 years agoMake fixdep error handling more explicit
Ben Gamari [Wed, 22 Dec 2010 18:30:14 +0000 (13:30 -0500)]
Make fixdep error handling more explicit

Also add missing error handling to fstat call

Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'misc' into for-next
Michal Marek [Tue, 21 Dec 2010 17:16:44 +0000 (17:16 +0000)]
Merge branch 'misc' into for-next

13 years agoDocumentation/kbuild: add info that 'choice' can have a symbol name
Yann E. MORIN [Wed, 15 Dec 2010 23:19:00 +0000 (00:19 +0100)]
Documentation/kbuild: add info that 'choice' can have a symbol name

Changeset 5a1aa8a1 added the possibility to name a choice,
and to have the same choice be defined multiple times.
But the documentation was forgotten, so this updates it accordingly.

Thanks to Arnaud Lacombe for pointing it to me in the first place:
  http://www.spinics.net/lists/linux-kbuild/msg03940.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kconfig' into for-next
Michal Marek [Tue, 21 Dec 2010 16:59:59 +0000 (16:59 +0000)]
Merge branch 'kconfig' into for-next

13 years agokconfig: Make expr_copy() take a const argument
Michal Marek [Mon, 20 Dec 2010 15:06:44 +0000 (16:06 +0100)]
kconfig: Make expr_copy() take a const argument

Fixes
scripts/kconfig/expr.c: In function ‘expr_get_leftmost_symbol’:
scripts/kconfig/expr.c:1026:2: warning: passing argument 1 of ‘expr_copy’ discards qualifiers from pointer target type
scripts/kconfig/expr.c:67:14: note: expected ‘struct expr *’ but argument is of type ‘const struct expr *’

Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: simplify select-with-unmet-direct-dependency warning
Arnaud Lacombe [Sun, 26 Sep 2010 20:24:08 +0000 (16:24 -0400)]
kconfig: simplify select-with-unmet-direct-dependency warning

This is an attempt to simplify the expressing printed by kconfig when a
symbol is selected but still has direct unmet dependency.

First, the symbol reverse dependency is split in sub-expression. Then,
each sub-expression is checked to ensure that it does not contains the
unmet dependency. This removes the false-positive symbols and fixed symbol
which already have the correct dependency. Finally, only the symbol
responsible of the "select" is printed, instead of its full dependency tree.

CC: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'packaging' into for-next
Michal Marek [Tue, 21 Dec 2010 15:13:20 +0000 (15:13 +0000)]
Merge branch 'packaging' into for-next

13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Tue, 21 Dec 2010 15:13:17 +0000 (15:13 +0000)]
Merge branch 'kbuild' into for-next

13 years agokbuild, deb-pkg: support overriding userland architecture
Asbjoern Sloth Toennesen [Sun, 12 Dec 2010 17:39:40 +0000 (17:39 +0000)]
kbuild, deb-pkg: support overriding userland architecture

Usefull if building for sparc64 userland, because the
sparc and sparc64 userlands use the same 64-bit kernel,
making it impossible to always select the correct userland
architecture for the resulting debian package.

Might also be usefull, if you want a i386 userland with a amd64 kernel.

Example usage:
make KBUILD_DEBARCH=i386 deb-pkg

LKML-reference: <alpine.DEB.2.02.1011051437500.13287@aurora.sdinet.de>
Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.biz>
Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>
Acked-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agochecksyscalls: Fix stand-alone usage
Geert Uytterhoeven [Wed, 25 Aug 2010 10:22:40 +0000 (12:22 +0200)]
checksyscalls: Fix stand-alone usage

The usage help in the comments
  - refers to the wrong script name,
  - doesn't mention that $srctree must be set.

Hence correct the script name, and derive the source tree path from the script
path, so we no longer need to rely on $srctree being set by the caller.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Thu, 16 Dec 2010 22:07:50 +0000 (22:07 +0000)]
Merge branch 'kbuild' into for-next

13 years agomodpost: Put .zdebug* section on white list
H.J. Lu [Thu, 16 Dec 2010 01:11:22 +0000 (17:11 -0800)]
modpost: Put .zdebug* section on white list

"as --compress-debug-sections" will generate compressed debug sections
with section names ".zdebug*".  This patch puts .zdebug* section on
white list.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'misc' into for-next
Michal Marek [Wed, 15 Dec 2010 22:50:40 +0000 (22:50 +0000)]
Merge branch 'misc' into for-next

13 years agoMerge branch 'kconfig' into for-next
Michal Marek [Wed, 15 Dec 2010 22:50:38 +0000 (22:50 +0000)]
Merge branch 'kconfig' into for-next

13 years agokconfig: add more S_INT and S_HEX consistency checks
Arnaud Lacombe [Sun, 5 Dec 2010 06:29:25 +0000 (01:29 -0500)]
kconfig: add more S_INT and S_HEX consistency checks

This patch add more number consistency checkg, trying to catch the following
situation:

config FOO0
hex
default 42

config FOO1
string

config BAR0
int
default FOO1

config BAR1
hex
default FOO1

config FOO2
hex
default 42h

config FOO3
int
default "1bar"

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokbuild: add numeric --set-val option to scripts/config
Jonas Aaberg [Wed, 15 Dec 2010 07:37:00 +0000 (08:37 +0100)]
kbuild: add numeric --set-val option to scripts/config

Add new option to scripts/config for changing .config numeric values

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kconfig' into for-next
Michal Marek [Wed, 15 Dec 2010 13:45:26 +0000 (13:45 +0000)]
Merge branch 'kconfig' into for-next

13 years agokconfig: fix `zconfdebug' extern declaration
Arnaud Lacombe [Sun, 5 Dec 2010 06:41:18 +0000 (01:41 -0500)]
kconfig: fix `zconfdebug' extern declaration

This symbol is only exist if YYDEBUG is defined.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig/conf: merge duplicate switch's case
Arnaud Lacombe [Sun, 5 Dec 2010 06:41:17 +0000 (01:41 -0500)]
kconfig/conf: merge duplicate switch's case

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: fix typos
Arnaud Lacombe [Sun, 5 Dec 2010 06:41:16 +0000 (01:41 -0500)]
kconfig: fix typos

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokbuild/gconf: add dummy inline for bind_textdomain_codeset()
Arnaud Lacombe [Sun, 5 Dec 2010 06:41:15 +0000 (01:41 -0500)]
kbuild/gconf: add dummy inline for bind_textdomain_codeset()

This symbols is used by gconf.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokbuild/nconf: fix spaces damage
Arnaud Lacombe [Sun, 5 Dec 2010 06:41:14 +0000 (01:41 -0500)]
kbuild/nconf: fix spaces damage

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: nuke second argument of conf_write_symbol()
Arnaud Lacombe [Sun, 5 Dec 2010 06:33:16 +0000 (01:33 -0500)]
kconfig: nuke second argument of conf_write_symbol()

Replacing S_TRISTATE by S_BOOLEAN is a no-op for conf_write_symbol().

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
[mmarek: Fix unused variable warning in conf_write()]
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: do not define AUTOCONF_INCLUDED
Arnaud Lacombe [Sun, 5 Dec 2010 06:31:57 +0000 (01:31 -0500)]
kconfig: do not define AUTOCONF_INCLUDED

AUTOCONF_INCLUDED is not checked is not used within the tree and its parent
header, `autoconf.h', is safe to be re-included.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Wed, 15 Dec 2010 12:28:05 +0000 (12:28 +0000)]
Merge branch 'kbuild' into for-next

13 years agokbuild: fix interaction of CONFIG_IKCONFIG and KCONFIG_CONFIG
Ben Gardiner [Tue, 14 Dec 2010 16:39:44 +0000 (11:39 -0500)]
kbuild: fix interaction of CONFIG_IKCONFIG and KCONFIG_CONFIG

If you try to build a kernel with KCONFIG_CONFIG set (to a value
not equal to .config) and that config sets CONFIG_IKCONFIG then the
build will fail with:

make[1]: *** No rule to make target `.config', needed by \
`kernel/config_data.gz'.  Stop.

because the kernel/Makefile contains a direct reference to .config.

This issue has been present since the introduction of KCONFIG_CONFIG
in 14cdd3c402bf7c66f0bcd76e290f0770a54a4b21.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
CC: Roman Zippel <zippel@linux-m68k.org>
CC: Michal Marek <mmarek@suse.cz>
Reviewed-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokbuild: export linux/{a.out,kvm,kvm_para}.h on headers_install_all
Kirill A. Shutemov [Mon, 13 Dec 2010 17:10:29 +0000 (19:10 +0200)]
kbuild: export linux/{a.out,kvm,kvm_para}.h on headers_install_all

Export linux/a.out.h, linux/kvm.h and linux/kvm_para.h on
headers_install_all if at least one architecture has appropriate files
in arch-dependent headers.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokbuild: introduce HDR_ARCH_LIST for headers_install_all
Kirill A. Shutemov [Mon, 13 Dec 2010 17:10:28 +0000 (19:10 +0200)]
kbuild: introduce HDR_ARCH_LIST for headers_install_all

Using HDR_ARCH_LIST you can specify subset of architectures you want to get
headers for.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge commit 'v2.6.37-rc1' into kbuild/kbuild
Michal Marek [Tue, 14 Dec 2010 21:01:55 +0000 (22:01 +0100)]
Merge commit 'v2.6.37-rc1' into kbuild/kbuild

13 years agoMerge branch 'misc' into for-next
Michal Marek [Tue, 14 Dec 2010 16:11:47 +0000 (16:11 +0000)]
Merge branch 'misc' into for-next

13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Tue, 14 Dec 2010 16:11:45 +0000 (16:11 +0000)]
Merge branch 'kbuild' into for-next

13 years agoheaders_check: Fix warning text
akpm@linux-foundation.org [Tue, 30 Nov 2010 21:52:14 +0000 (13:52 -0800)]
headers_check: Fix warning text

Fix the warning text too, per Randy.

Cc: Alexander Shishkin <virtuoso@slind.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: WANG Cong <amwang@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoheaders_check: better search for functions in headers
akpm@linux-foundation.org [Tue, 30 Nov 2010 21:51:13 +0000 (13:51 -0800)]
headers_check: better search for functions in headers

Some headers don't bother with "extern" in function prototypes, which
results in said prototypes being unnoticed and exported to userland.

This patch slightly improves detection of such cases by checking for C
type names as well in the beginning of a line.

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: WANG Cong <amwang@redhat.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoheaders_install: check exit status of unifdef
Mike Frysinger [Wed, 24 Nov 2010 00:54:02 +0000 (19:54 -0500)]
headers_install: check exit status of unifdef

If unifdef fails for any reason (like segfaulting), we should be aborting
the install steps.  So check its exit status in this unlikely scenario.

Reported-by: Diego Elio Pettenò <flameeyes@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'misc' into for-next
Michal Marek [Sat, 4 Dec 2010 13:39:46 +0000 (13:39 +0000)]
Merge branch 'misc' into for-next

13 years agoscripts/coccinelle: update for compatability with Coccinelle 0.2.4
Julia Lawall [Wed, 24 Nov 2010 14:54:18 +0000 (15:54 +0100)]
scripts/coccinelle: update for compatability with Coccinelle 0.2.4

For doubleinit.cocci, Coccinelle 0.2.4 requires a comma after ... in a
field list.  Coccinelle also now behaves gracefully when a definition is
provided for a virtual that doesn't exist, so there is no need for the
semantic patch code to check for this case.

Updated the documentation to reflect the fact that the best results will
now be obtained with Coccinelle version 0.2.4 or later.

Signed-off-by: Julia Lawall <julia@diku.dk>
13 years agoMerge branch 'misc' into for-next
Michal Marek [Thu, 2 Dec 2010 16:04:34 +0000 (16:04 +0000)]
Merge branch 'misc' into for-next

13 years agoMerge branch 'kconfig' into for-next
Michal Marek [Thu, 2 Dec 2010 16:04:33 +0000 (16:04 +0000)]
Merge branch 'kconfig' into for-next

13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Thu, 2 Dec 2010 16:04:30 +0000 (16:04 +0000)]
Merge branch 'kbuild' into for-next

13 years agogen_init_cpio: remove leading `/' from file names
Thomas Chou [Wed, 6 Oct 2010 07:13:53 +0000 (15:13 +0800)]
gen_init_cpio: remove leading `/' from file names

When we extracted the generated cpio archive using "cpio -id" command,
it complained,

cpio: Removing leading `/' from member names
var/run
cpio: Removing leading `/' from member names
var/lib
cpio: Removing leading `/' from member names
var/lib/misc

It is worse with the latest "cpio" or "pax", which tries to overwrite
the host file system with the leading '/'.

So the leading '/' of file names should be removed. This is consistent
with the initramfs come with major distributions such as Fedora or
Debian, etc.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Mike Frysinger<vapier@gentoo.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agotags: put function prototypes back!
Uwe Kleine-König [Thu, 4 Nov 2010 09:24:16 +0000 (10:24 +0100)]
tags: put function prototypes back!

Commit 7db86dc (ctags: usability fix) removed function prototypes from
tags file claiming "It makes no real sense to include function
prototypes".
But it is useful for quickly determining which header file developer
needs to include to fix compilation.

Now if someone wants to remove forward declarations (which I agree are
baggage), write a postprocessing script.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: the day kconfig warns about "select"-abuse has come
Arnaud Lacombe [Thu, 4 Nov 2010 04:16:08 +0000 (00:16 -0400)]
kconfig: the day kconfig warns about "select"-abuse has come

CC: catalin.marinas@arm.com
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild/rc-fixes' into kbuild/for-next
Michal Marek [Wed, 1 Dec 2010 15:13:03 +0000 (16:13 +0100)]
Merge branch 'kbuild/rc-fixes' into kbuild/for-next

I took Mauro's branch for the menu visibility feature, so there are now
two histories for the same in the for-next branch. This is unfortunate,
but let's keep for-next pullable.

Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kconfig_fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
Michal Marek [Wed, 1 Dec 2010 12:13:56 +0000 (13:13 +0100)]
Merge branch 'kconfig_fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-next into kbuild/rc-fixes

13 years agoinitramfs: Really fix build break on symbol-prefixed archs
Hendrik Brueckner [Mon, 29 Nov 2010 22:38:50 +0000 (14:38 -0800)]
initramfs: Really fix build break on symbol-prefixed archs

Define the __initramfs_size variable using VMLINUX_SYMBOL() to take care
of symbol-prefixed architectures, for example, blackfin.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>,
Cc: Michal Marek <mmarek@suse.cz>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
[mmarek: leave out Makefile change, since d63f6d1 already takes care of the
 SYMBOL_PREFIX define]
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoMerge branch 'kbuild/menu-visibility' into kbuild/for-next
Michal Marek [Fri, 26 Nov 2010 15:14:34 +0000 (16:14 +0100)]
Merge branch 'kbuild/menu-visibility' into kbuild/for-next

13 years agoMerge branch 'packaging' into for-next
Michal Marek [Fri, 26 Nov 2010 15:08:17 +0000 (15:08 +0000)]
Merge branch 'packaging' into for-next

13 years agoMerge branch 'misc' into for-next
Michal Marek [Fri, 26 Nov 2010 15:07:08 +0000 (15:07 +0000)]
Merge branch 'misc' into for-next

13 years agoMerge branch 'kbuild' into for-next
Michal Marek [Fri, 26 Nov 2010 15:07:05 +0000 (15:07 +0000)]
Merge branch 'kbuild' into for-next

13 years agoi2c/algos: convert Kconfig to use the menu's `visible' keyword
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:27 +0000 (17:30 -0400)]
i2c/algos: convert Kconfig to use the menu's `visible' keyword

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agomedia/video: convert Kconfig to use the menu's `visible' keyword
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:26 +0000 (17:30 -0400)]
media/video: convert Kconfig to use the menu's `visible' keyword

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoRevert "i2c: Fix Kconfig dependencies"
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:25 +0000 (17:30 -0400)]
Revert "i2c: Fix Kconfig dependencies"

This reverts commit 0a57274ea026c2b7670683947b6cc08b195148cf.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: regen parser
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:24 +0000 (17:30 -0400)]
kconfig: regen parser

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokconfig: add an option to determine a menu's visibility
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:23 +0000 (17:30 -0400)]
kconfig: add an option to determine a menu's visibility

This option is aimed to add the possibility to control a menu's visibility
without adding dependency to the expression to all the submenu.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoscripts/genksyms: fix header usage
Arnaud Lacombe [Mon, 8 Nov 2010 23:31:53 +0000 (18:31 -0500)]
scripts/genksyms: fix header usage

FreeBSD does not like <malloc.h> when __STDC__ is defined, use the standard
<stdlib.h> instead.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agoKconfig: fix single letter command in scripts/config
Andi Kleen [Fri, 5 Nov 2010 11:06:05 +0000 (12:06 +0100)]
Kconfig: fix single letter command in scripts/config

The one letter commands in scripts/config didn't work and always
printed usage. Fix this here.

Cc: erick@openchill.org
Reported-by: erick@openchill.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agogitignore: add scripts/recordmcount
Américo Wang [Fri, 5 Nov 2010 06:16:10 +0000 (14:16 +0800)]
gitignore: add scripts/recordmcount

This file is generated, should be ignored by git.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years agokbuild, deb-pkg: select userland architecture based on UTS_MACHINE
Asbjoern Sloth Toennesen [Fri, 5 Nov 2010 13:30:08 +0000 (13:30 +0000)]
kbuild, deb-pkg: select userland architecture based on UTS_MACHINE

Instead of creating the debian package for the compiling userland,
create it for a userland matching the kernel thats being compiled.

This patch supports all Lenny release architectures,
and Linux-based architecture candidates for Squeeze.

If it can't find a proper Debian userspace it displays a warning,
and fallback to let deb-gencontrol use the host's userspace arch.

Eg. with this patch the following make command:

make ARCH=i386 deb-pkg

will output an i386 Debian package instead of an amd64 one,
when run on an amd64 machine.

Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.biz>
Acked-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
13 years ago[media] Fix Kconfig errors due to two visible menus
Mauro Carvalho Chehab [Tue, 9 Nov 2010 17:29:05 +0000 (14:29 -0300)]
[media] Fix Kconfig errors due to two visible menus

Use the new visible Kconfig keyword to avoid producing error for two menus
that are visible only if Tuner/frontend customise options are enabled.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoi2c/algos: convert Kconfig to use the menu's `visible' keyword
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:27 +0000 (18:30 -0300)]
i2c/algos: convert Kconfig to use the menu's `visible' keyword

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agomedia/video: convert Kconfig to use the menu's `visible' keyword
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:26 +0000 (18:30 -0300)]
media/video: convert Kconfig to use the menu's `visible' keyword

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoRevert "i2c: Fix Kconfig dependencies"
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:25 +0000 (18:30 -0300)]
Revert "i2c: Fix Kconfig dependencies"

This reverts commit 0a57274ea026c2b7670683947b6cc08b195148cf.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agokconfig: regen parser
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:24 +0000 (18:30 -0300)]
kconfig: regen parser

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agokconfig: add an option to determine a menu's visibility
Arnaud Lacombe [Sat, 6 Nov 2010 21:30:23 +0000 (18:30 -0300)]
kconfig: add an option to determine a menu's visibility

This option is aimed to add the possibility to control a menu's visibility
without adding dependency to the expression to all the submenu.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoLinux 2.6.37-rc2 v2.6.37-rc2
Linus Torvalds [Tue, 16 Nov 2010 02:31:02 +0000 (18:31 -0800)]
Linux 2.6.37-rc2

13 years agocapabilities/syslog: open code cap_syslog logic to fix build failure
Eric Paris [Mon, 15 Nov 2010 23:36:29 +0000 (18:36 -0500)]
capabilities/syslog: open code cap_syslog logic to fix build failure

The addition of CONFIG_SECURITY_DMESG_RESTRICT resulted in a build
failure when CONFIG_PRINTK=n.  This is because the capabilities code
which used the new option was built even though the variable in question
didn't exist.

The patch here fixes this by moving the capabilities checks out of the
LSM and into the caller.  All (known) LSMs should have been calling the
capabilities hook already so it actually makes the code organization
better to eliminate the hook altogether.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agoMerge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Mon, 15 Nov 2010 22:06:11 +0000 (14:06 -0800)]
Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6

* 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
  arm: omap1: devices: need to return with a value
  OMAP1: camera.h: add missing include
  omap: dma: Add read-back to DMA interrupt handler to avoid spuriousinterrupts
  OMAP2: Devkit8000: Fix mmc regulator failure

13 years agoMerge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
Linus Torvalds [Mon, 15 Nov 2010 22:05:44 +0000 (14:05 -0800)]
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging

* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
  hwmon: (w83795) Check for BEEP pin availability
  hwmon: (w83795) Clear intrusion alarm immediately
  hwmon: (w83795) Read the intrusion state properly
  hwmon: (w83795) Print the actual temperature channels as sources
  hwmon: (w83795) List all usable temperature sources
  hwmon: (w83795) Expose fan control method
  hwmon: (w83795) Fix fan control mode attributes
  hwmon: (lm95241) Check validity of input values
  hwmon: Change mail address of Hans J. Koch

13 years agoMerge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvar...
Linus Torvalds [Mon, 15 Nov 2010 22:03:17 +0000 (14:03 -0800)]
Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging

* 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
  i2c: Sanity checks on adapter registration
  i2c: Mark i2c_adapter.id as deprecated
  i2c: Drivers shouldn't include <linux/i2c-id.h>
  i2c: Delete unused adapter IDs
  i2c: Remove obsolete cleanup for clientdata

13 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes...
Linus Torvalds [Mon, 15 Nov 2010 22:01:33 +0000 (14:01 -0800)]
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
  PCI: sysfs: fix printk warnings
  PCI: fix pci_bus_alloc_resource() hang, prefer positive decode
  PCI: read current power state at enable time
  PCI: fix size checks for mmap() on /proc/bus/pci files
  x86/PCI: coalesce overlapping host bridge windows
  PCI hotplug: ibmphp: Add check to prevent reading beyond mapped area

13 years agoi2c: Sanity checks on adapter registration
Jean Delvare [Mon, 15 Nov 2010 21:40:38 +0000 (22:40 +0100)]
i2c: Sanity checks on adapter registration

Make sure I2C adapters being registered have the required struct
fields set. If they don't, problems will happen later.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
13 years agoi2c: Mark i2c_adapter.id as deprecated
Jean Delvare [Mon, 15 Nov 2010 21:40:38 +0000 (22:40 +0100)]
i2c: Mark i2c_adapter.id as deprecated

It's about time to make it clear that i2c_adapter.id is deprecated.
Hopefully this will remind the last user to move over to a different
strategy.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoi2c: Drivers shouldn't include <linux/i2c-id.h>
Jean Delvare [Mon, 15 Nov 2010 21:40:38 +0000 (22:40 +0100)]
i2c: Drivers shouldn't include <linux/i2c-id.h>

Drivers don't need to include <linux/i2c-id.h>, especially not when
they don't use anything that header file provides.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Michael Hunold <michael@mihu.de>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoi2c: Delete unused adapter IDs
Jean Delvare [Mon, 15 Nov 2010 21:40:38 +0000 (22:40 +0100)]
i2c: Delete unused adapter IDs

Delete unused I2C adapter IDs. Special cases are:

* I2C_HW_B_RIVA was still set in driver rivafb, however no other
  driver is ever looking for this value, so we can safely remove it.
* I2C_HW_B_HDPVR is used in staging driver lirc_zilog, however no
  adapter ID is ever set to this value, so the code in question never
  runs. As the code additionally expects that I2C_HW_B_HDPVR may not
  be defined, we can delete it now and let the lirc_zilog driver
  maintainer rewrite this piece of code.

Big thanks for Hans Verkuil for doing all the hard work :)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoi2c: Remove obsolete cleanup for clientdata
Wolfram Sang [Mon, 15 Nov 2010 21:40:38 +0000 (22:40 +0100)]
i2c: Remove obsolete cleanup for clientdata

A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Alan Cox <alan@linux.intel.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
13 years agoinclude/linux/kernel.h: Move logging bits to include/linux/printk.h
Linus Torvalds [Mon, 15 Nov 2010 21:37:37 +0000 (13:37 -0800)]
include/linux/kernel.h: Move logging bits to include/linux/printk.h

Move the logging bits from kernel.h into printk.h so that
there is a bit more logical separation of the generic from
the printk logging specific parts.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agoFix gcc 4.5.1 miscompiling drivers/char/i8k.c (again)
Jim Bos [Mon, 15 Nov 2010 20:22:37 +0000 (21:22 +0100)]
Fix gcc 4.5.1 miscompiling drivers/char/i8k.c (again)

The fix in commit 6b4e81db2552 ("i8k: Tell gcc that *regs gets
clobbered") to work around the gcc miscompiling i8k.c to add "+m
(*regs)" caused register pressure problems and a build failure.

Changing the 'asm' statement to 'asm volatile' instead should prevent
that and works around the gcc bug as well, so we can remove the "+m".

[ Background on the gcc bug: a memory clobber fails to mark the function
  the asm resides in as non-pure (aka "__attribute__((const))"), so if
  the function does nothing else that triggers the non-pure logic, gcc
  will think that that function has no side effects at all. As a result,
  callers will be mis-compiled.

  Adding the "+m" made gcc see that it's not a pure function, and so
  does "asm volatile". The problem was never really the need to mark
  "*regs" as changed, since the memory clobber did that part - the
  problem was just a bug in the gcc "pure" function analysis  - Linus ]

Signed-off-by: Jim Bos <jim876@xs4all.nl>
Acked-by: Jakub Jelinek <jakub@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
13 years agohwmon: (w83795) Check for BEEP pin availability
Jean Delvare [Mon, 15 Nov 2010 20:38:57 +0000 (21:38 +0100)]
hwmon: (w83795) Check for BEEP pin availability

On the W83795ADG, there's a single pin for BEEP and OVT#, so you
can't have both. Check the configuration and don't create beep
attributes when BEEP pin is not available.

The W83795G has a dedicated BEEP pin so the functionality is always
available there.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
13 years agohwmon: (w83795) Clear intrusion alarm immediately
Jean Delvare [Mon, 15 Nov 2010 20:38:57 +0000 (21:38 +0100)]
hwmon: (w83795) Clear intrusion alarm immediately

When asked to clear the intrusion alarm, do so immediately. We have to
invalidate the cache to make sure the new status will be read. But we
also have to read from the status register once to clear the pending
alarm, as writing to CLR_CHS surprising won't clear it automatically.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
13 years agohwmon: (w83795) Read the intrusion state properly
Jean Delvare [Mon, 15 Nov 2010 20:38:56 +0000 (21:38 +0100)]
hwmon: (w83795) Read the intrusion state properly

We can't read the intrusion state from the real-time alarm registers
as we do for all other alarm flags, because real-time alarm bits don't
stick (by definition) and the intrusion state has to stick until
explicitly cleared (otherwise it has little value.)

So we have to use the interrupt status register instead, which is read
from the same address but with a configuration bit flipped in another
register.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>