summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
ModeNameSize
-rw-r--r--Kconfig46374logstatsplainblame
-rw-r--r--Makefile6050logstatsplainblame
-rw-r--r--acquirewdt.c8716logstatsplainblame
-rw-r--r--advantechwdt.c8007logstatsplainblame
-rw-r--r--alim1535_wdt.c10135logstatsplainblame
-rw-r--r--alim7101_wdt.c10729logstatsplainblame
-rw-r--r--ar7_wdt.c7903logstatsplainblame
-rw-r--r--at32ap700x_wdt.c9865logstatsplainblame
-rw-r--r--at91rm9200_wdt.c6858logstatsplainblame
-rw-r--r--at91sam9_wdt.c10593logstatsplainblame
-rw-r--r--at91sam9_wdt.h1420logstatsplainblame
-rw-r--r--ath79_wdt.c7590logstatsplainblame
-rw-r--r--bcm2835_wdt.c4992logstatsplainblame
-rw-r--r--bcm47xx_wdt.c6340logstatsplainblame
-rw-r--r--bcm63xx_wdt.c7160logstatsplainblame
-rw-r--r--bcm_kona_wdt.c9582logstatsplainblame
-rw-r--r--bfin_wdt.c10380logstatsplainblame
-rw-r--r--booke_wdt.c6286logstatsplainblame
-rw-r--r--coh901327_wdt.c13074logstatsplainblame
-rw-r--r--cpu5wdt.c6791logstatsplainblame
-rw-r--r--cpwd.c16333logstatsplainblame
-rw-r--r--da9052_wdt.c5896logstatsplainblame
-rw-r--r--da9055_wdt.c5164logstatsplainblame
-rw-r--r--davinci_wdt.c6493logstatsplainblame
-rw-r--r--diag288_wdt.c7943logstatsplainblame
-rw-r--r--dw_wdt.c8429logstatsplainblame
-rw-r--r--ep93xx_wdt.c4439logstatsplainblame
-rw-r--r--eurotechwdt.c10928logstatsplainblame
-rw-r--r--f71808e_wdt.c20887logstatsplainblame
-rw-r--r--gef_wdt.c7658logstatsplainblame
-rw-r--r--geodewdt.c6627logstatsplainblame
-rw-r--r--gpio_wdt.c6074logstatsplainblame
-rw-r--r--hpwdt.c21986logstatsplainblame
-rw-r--r--i6300esb.c12672logstatsplainblame
-rw-r--r--iTCO_vendor.h680logstatsplainblame
-rw-r--r--iTCO_vendor_support.c11089logstatsplainblame
-rw-r--r--iTCO_wdt.c18130logstatsplainblame
-rw-r--r--ib700wdt.c8543logstatsplainblame
-rw-r--r--ibmasr.c9628logstatsplainblame
-rw-r--r--ie6xx_wdt.c8757logstatsplainblame
-rw-r--r--imx2_wdt.c8984logstatsplainblame
-rw-r--r--indydog.c4703logstatsplainblame
-rw-r--r--intel-mid_wdt.c4321logstatsplainblame
-rw-r--r--intel_scu_watchdog.c15396logstatsplainblame
-rw-r--r--intel_scu_watchdog.h2053logstatsplainblame
-rw-r--r--iop_wdt.c6030logstatsplainblame
-rw-r--r--it8712f_wdt.c10199logstatsplainblame
-rw-r--r--it87_wdt.c18653logstatsplainblame
-rw-r--r--ixp4xx_wdt.c4680logstatsplainblame
-rw-r--r--jz4740_wdt.c6141logstatsplainblame
-rw-r--r--kempld_wdt.c14831logstatsplainblame
-rw-r--r--ks8695_wdt.c7893logstatsplainblame
-rw-r--r--lantiq_wdt.c5902logstatsplainblame
-rw-r--r--m54xx_wdt.c5130logstatsplainblame
-rw-r--r--machzwd.c10054logstatsplainblame
-rw-r--r--max63xx_wdt.c6384logstatsplainblame
-rw-r--r--mena21_wdt.c5936logstatsplainblame
-rw-r--r--mixcomwd.c7428logstatsplainblame
-rw-r--r--moxart_wdt.c4589logstatsplainblame
-rw-r--r--mpc8xxx_wdt.c7400logstatsplainblame
-rw-r--r--mtx-1_wdt.c6368logstatsplainblame
-rw-r--r--mv64x60_wdt.c7849logstatsplainblame
-rw-r--r--nuc900_wdt.c7334logstatsplainblame
-rw-r--r--nv_tco.c12324logstatsplainblame
-rw-r--r--nv_tco.h2062logstatsplainblame
-rw-r--r--octeon-wdt-main.c19741logstatsplainblame
-rw-r--r--octeon-wdt-nmi.S1370logstatsplainblame
-rw-r--r--of_xilinx_wdt.c6570logstatsplainblame
-rw-r--r--omap_wdt.c9448logstatsplainblame
-rw-r--r--omap_wdt.h2227logstatsplainblame
-rw-r--r--orion_wdt.c16076logstatsplainblame
-rw-r--r--pc87413_wdt.c14364logstatsplainblame
-rw-r--r--pcwd.c26781logstatsplainblame
-rw-r--r--pcwd_pci.c20378logstatsplainblame
-rw-r--r--pcwd_usb.c21684logstatsplainblame
-rw-r--r--pika_wdt.c6878logstatsplainblame
-rw-r--r--pnx4008_wdt.c6142logstatsplainblame
-rw-r--r--pnx833x_wdt.c7250logstatsplainblame
-rw-r--r--rc32434_wdt.c8310logstatsplainblame
-rw-r--r--rdc321x_wdt.c7352logstatsplainblame
-rw-r--r--retu_wdt.c4579logstatsplainblame
-rw-r--r--riowd.c5740logstatsplainblame
-rw-r--r--rt2880_wdt.c4870logstatsplainblame
-rw-r--r--s3c2410_wdt.c18318logstatsplainblame
-rw-r--r--sa1100_wdt.c4751logstatsplainblame
-rw-r--r--sb_wdog.c8737logstatsplainblame
-rw-r--r--sbc60xxwdt.c10352logstatsplainblame
-rw-r--r--sbc7240_wdt.c7049logstatsplainblame
-rw-r--r--sbc8360.c10039logstatsplainblame
-rw-r--r--sbc_epx_c3.c5119logstatsplainblame
-rw-r--r--sbc_fitpc2_wdt.c5377logstatsplainblame
-rw-r--r--sc1200wdt.c11388logstatsplainblame
-rw-r--r--sc520_wdt.c11080logstatsplainblame
-rw-r--r--sch311x_wdt.c13825logstatsplainblame
-rw-r--r--scx200_wdt.c6599logstatsplainblame
-rw-r--r--shwdt.c9355logstatsplainblame
-rw-r--r--sirfsoc_wdt.c5678logstatsplainblame
-rw-r--r--smsc37b787_wdt.c15474logstatsplainblame
-rw-r--r--softdog.c5248logstatsplainblame
-rw-r--r--sp5100_tco.c14918logstatsplainblame
-rw-r--r--sp5100_tco.h1732logstatsplainblame
-rw-r--r--sp805_wdt.c7295logstatsplainblame
-rw-r--r--stmp3xxx_rtc_wdt.c2974logstatsplainblame
-rw-r--r--sunxi_wdt.c6816logstatsplainblame
-rw-r--r--tegra_wdt.c7859logstatsplainblame
-rw-r--r--ts72xx_wdt.c10065logstatsplainblame
-rw-r--r--twl4030_wdt.c3852logstatsplainblame
-rw-r--r--txx9wdt.c4650logstatsplainblame
-rw-r--r--ux500_wdt.c4096logstatsplainblame
-rw-r--r--via_wdt.c7608logstatsplainblame
-rw-r--r--w83627hf_wdt.c10571logstatsplainblame
-rw-r--r--w83877f_wdt.c10171logstatsplainblame
-rw-r--r--w83977f_wdt.c12084logstatsplainblame
-rw-r--r--wafer5823wdt.c7256logstatsplainblame
-rw-r--r--watchdog_core.c6279logstatsplainblame
-rw-r--r--watchdog_core.h1329logstatsplainblame
-rw-r--r--watchdog_dev.c14704logstatsplainblame
-rw-r--r--wd501p.h1598logstatsplainblame
-rw-r--r--wdrtas.c15626logstatsplainblame
-rw-r--r--wdt.c15830logstatsplainblame
-rw-r--r--wdt285.c4856logstatsplainblame
-rw-r--r--wdt977.c12079logstatsplainblame
-rw-r--r--wdt_pci.c17672logstatsplainblame
-rw-r--r--wm831x_wdt.c7499logstatsplainblame
-rw-r--r--wm8350_wdt.c4207logstatsplainblame
-rw-r--r--xen_wdt.c7655logstatsplainblame
mn6'>| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Init topology subsystem by cpu registration. Microblaze Linux kernel is fauling by "Oops: kernel access of bad area, sig: 11" because cpu is not initialized. Signed-off-by: Michal Simek <monstr@monstr.eu> * | | | | | | | | | | | Merge branch 'x86-syscall-for-linus' of ↵Linus Torvalds2012-01-1729-1950/+1019Star |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip * 'x86-syscall-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86: Move <asm/asm-offsets.h> from trace_syscalls.c to asm/syscall.h x86, um: Fix typo in 32-bit system call modifications um: Use $(srctree) not $(KBUILD_SRC) x86, um: Mark system call tables readonly x86, um: Use the same style generated syscall tables as native um: Generate headers before generating user-offsets.s um: Run host archheaders, allow use of host generated headers kbuild, headers.sh: Don't make archheaders explicitly x86, syscall: Allow syscall offset to be symbolic x86, syscall: Re-fix typo in comment x86: Simplify syscallhdr.sh x86: Generate system call tables and unistd_*.h from tables checksyscalls: Use arch/x86/syscalls/syscall_32.tbl as source x86: Machine-readable syscall tables and scripts to process them trace: Include <asm/asm-offsets.h> in trace_syscalls.c x86-64, ia32: Move compat_ni_syscall into C and its own file x86-64, syscall: Adjust comment spacing and remove typo kbuild: Add support for an "archheaders" target kbuild: Add support for installing generated asm headers | * | | | | | | | | | | | x86: Move <asm/asm-offsets.h> from trace_syscalls.c to asm/syscall.hH. Peter Anvin2012-01-071-0/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d5e553d6e0a4bdea43adae7373e3fa144b9a1aaa, which caused large numbers of build warnings on PowerPC. This moves the #include <asm/asm-offsets.h> to <asm/syscall.h>, which makes some kind of sense since NR_syscalls is syscalls related. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Link: http://lkml.kernel.org/r/20111214181545.6e13bc954cb7ddce9086e861@canb.auug.org.au | * | | | | | | | | | | | x86, um: Fix typo in 32-bit system call modificationsH. Peter Anvin2011-12-091-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We override sys_iopl(), not stub_iopl(); the latter is a 64-bitism that doesn't apply to i386 in the first place. Reported-by: Richard Weinberger <richard@nod.at> Signed-off-by: H. Peter Anvin <hpa@zytor.com> | * | | | | | | | | | | | um: Use $(srctree) not $(KBUILD_SRC)H. Peter Anvin2011-12-091-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $(KBUILD_SRC) is not defined without O=, use $(srctree). Reported-and-tested-by: Richard Weinberger <richard@nod.at> Signed-off-by: H. Peter Anvin <hpa@zytor.com> | * | | | | | | | | | | | x86, um: Mark system call tables readonlyH. Peter Anvin2011-12-062-2/+2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mark the system call tables readonly, as they already are on native, and the 32-bit UM version was in the previous assembly version. The 32-bit version lost it due to copy and paste from the 64-bit version, which was missing the const. Cc: Jeff Dike <jdike@addtoit.com> Cc: Richard Weinberger <richard@nod.at> Link: http://lkml.kernel.org/r/tip-45db1c6176c8171d9ae6fa6d82e07d115a5950ca@git.kernel.org Signed-off-by: H. Peter Anvin <hpa@zytor.com> | * | | | | | | | | | | | x86, um: Use the same style generated syscall tables as nativeH. Peter Anvin2011-12-065-46/+84 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now when the native kernel uses a single style of generated system call table, follow suite for UML and implement the same style, all in C. This requires __NR_syscall_max and NR_syscalls to be generated; on native this is done in asm-headers.h but that file is common to all UML architectures; therefore put it in user-headers.h instead which already have accommodations for architecture-specific values. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | um: Generate headers before generating user-offsets.sH. Peter Anvin2011-12-061-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case we need generated header files for the values in user-offsets.h, make sure we build generated header files before user-offsets.s is built. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | um: Run host archheaders, allow use of host generated headersH. Peter Anvin2011-12-061-1/+6 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run the "archheaders" target for the host architecture, for architectures (like x86, now) that want to generate some of the necessary header files. Add $(HOST_DIR)/include/generated to the include path so we then pick them up. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | x86, syscall: Allow syscall offset to be symbolicH. Peter Anvin2011-11-191-1/+5 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the specified syscall offset to be symbolic, e.g. a macro. For offset system calls, this if nothing else makes the generated code easier to read. Suggested-by: H. J. Lu <hjl.tools@gmail.com> Link: http://lkml.kernel.org/r/1321569446-20433-7-git-send-email-hpa@linux.intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | x86, syscall: Re-fix typo in commentH. Peter Anvin2011-11-192-2/+2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the same typo as was fixed in: b7641d2c x86-64, syscall: Adjust comment spacing and remove typo ... for the new versions of this file (32-bit and IA32 compat). Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/r/1321569446-20433-4-git-send-email-hpa@linux.intel.com | * | | | | | | | | | | | x86: Simplify syscallhdr.shH. Peter Anvin2011-11-191-16/+3Star | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify syscallhdr.sh by letting grep sort out the ABIs that we want, rather than relying on manual list matching. This is safe since the ABI strings already have to consist only of characters which are valid in C macro names. Suggested-by: Matt Helsley <matthltc@us.ibm.com> Link: http://lkml.kernel.org/r/20111118221558.GA6408@count0.beaverton.ibm.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | x86: Generate system call tables and unistd_*.h from tablesH. Peter Anvin2011-11-1716-1896/+154Star | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate system call tables and unistd_*.h automatically from the tables in arch/x86/syscalls. All other information, like NR_syscalls, is auto-generated, some of which is in asm-offsets_*.c. This allows us to keep all the system call information in one place, and allows for kernel space and user space to see different information; this is currently used for the ia32 system call numbers when building the 64-bit kernel, but will be used by the x32 ABI in the near future. This also removes some gratuitious differences between i386, x86-64 and ia32; in particular, now all system call tables are generated with the same mechanism. Cc: H. J. Lu <hjl.tools@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | x86: Machine-readable syscall tables and scripts to process themH. Peter Anvin2011-11-175-0/+771 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a simple set of syscall tables and scripts to turn them into both header files (unistd_*.h) and macros for generating the system call tables. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | x86-64, ia32: Move compat_ni_syscall into C and its own fileH. Peter Anvin2011-11-173-3/+8 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move compat_ni_syscall out of ia32entry.S and into its own .c file. Although this is a trivial function, it is not performance-critical, and this will simplify further cleanups. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | * | | | | | | | | | | | x86-64, syscall: Adjust comment spacing and remove typoH. Peter Anvin2011-11-171-3/+3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust spacing for comment so that it matches the multiline comment style used in the rest of the kernel, and remove word duplication. It is not really clear what version of gcc this refers to, but the extra & doesn't cause any harm, so there is no reason to remove it. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> * | | | | | | | | | | | | Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommuLinus Torvalds2012-01-171-1/+13 |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: ARM: OMAP3: fix build on !CONFIG_IOMMU_API | * | | | | | | | | | | | | ARM: OMAP3: fix build on !CONFIG_IOMMU_APIOhad Ben-Cohen2012-01-161-1/+13 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | omap3isp depends on CONFIG_IOMMU_API, so avoid registering its device (and defining its configuration structs) on !CONFIG_IOMMU_API. This is generally nice to have, but more importantly, it fixes: arch/arm/plat-omap/include/plat/iommu.h: In function 'dev_to_omap_iommu': arch/arm/plat-omap/include/plat/iommu.h:135: error: 'struct dev_archdata' has no member named 'iommu' arch/arm/mach-omap2/devices.c: In function 'omap3_init_camera': arch/arm/mach-omap2/devices.c:222: error: 'struct dev_archdata' has no member named 'iommu' make[1]: *** [arch/arm/mach-omap2/devices.o] Error 1 make: *** [arch/arm/mach-omap2] Error 2 Which happens because while setting up the omap3isp device we try to access the (now nonexistent) iommu member of dev_archdata. Compile tested with omap2plus_defconfig on today's: commit e343a895a9f342f239c5e3c5ffc6c0b1707e6244 Merge: 06792c4 193a667 Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Tue Jan 10 18:04:27 2012 -0800 Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost Reported-by: Govindraj Raja <govindraj.raja@ti.com> Reported-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Cc: Tony Lindgren <tony@atomide.com> Cc: Joerg Roedel <Joerg.Roedel@amd.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> * | | | | | | | | | | | | | mce: fix warning messages about static struct mce_deviceGreg Kroah-Hartman2012-01-173-12/+26 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When suspending, there was a large list of warnings going something like: Device 'machinecheck1' does not have a release() function, it is broken and must be fixed This patch turns the static mce_devices into dynamically allocated, and properly frees them when they are removed from the system. It solves the warning messages on my laptop here. Reported-by: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com> Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Tested-by: Djalal Harouni <tixxdz@opendz.org> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Borislav Petkov <bp@amd64.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> * | | | | | | | | | | | | | Merge branch 'fixes' of ↵Linus Torvalds2012-01-1717-42/+50 |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-arm * 'fixes' of git://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-arm: ARM: sa11x0: assabet: fix build warning ARM: Add arm_memblock_steal() to allocate memory away from the kernel ARM: 7275/1: LPAE: Check the CPU support for the long descriptor format ARM: 7274/1: NUC900: Rename nuc900-audio platform device to nuc900-ac97 ARM: 7272/1: S3C24XX: Fix build error for missing <mach/system-reset.h> ARM: 7271/1: Fix typo in conversion of ARCH_NR_GPIOS to Kconfig | * | | | | | | | | | | | | | ARM: sa11x0: assabet: fix build warningRussell King2012-01-161-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since a32618d2 (ARM: pgtable: switch to use pgtable-nopud.h), assabet warns as follows: arch/arm/mach-sa1100/assabet.c: In function 'map_sa1100_gpio_regs': arch/arm/mach-sa1100/assabet.c:264: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type Fix this by adding the necessary pud_offset() macro. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | * | | | | | | | | | | | | | ARM: Add arm_memblock_steal() to allocate memory away from the kernelRussell King2012-01-139-32/+34 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several platforms are now using the memblock_alloc+memblock_free+ memblock_remove trick to obtain memory which won't be mapped in the kernel's page tables. Most platforms do this (correctly) in the ->reserve callback. However, OMAP has started to call these functions outside of this callback, and this is extremely unsafe - memory will not be unmapped, and could well be given out after memblock is no longer responsible for its management. So, provide arm_memblock_steal() to perform this function, and ensure that it panic()s if it is used inappropriately. Convert everyone over, including OMAP. As a result, OMAP with OMAP4_ERRATA_I688 enabled will panic on boot with this change. Mark this option as BROKEN and make it depend on BROKEN. OMAP needs to be fixed, or 137d105d50 (ARM: OMAP4: Fix errata i688 with MPU interconnect barriers.) reverted until such time it can be fixed correctly. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | * | | | | | | | | | | | | | Merge branch 'master' into fixesRussell King2012-01-13