- Apr 19, 2012
-
-
Paul Gortmaker authored
This error appeared in the bcmring_defconfig build: CC arch/arm/mach-bcmring/core.o arch/arm/mach-bcmring/core.c:55: error: macro "AMBA_APB_DEVICE" requires 6 arguments, but only 5 given arch/arm/mach-bcmring/core.c:55: warning: type defaults to 'int' in declaration of 'AMBA_APB_DEVICE' arch/arm/mach-bcmring/core.c:56: error: macro "AMBA_APB_DEVICE" requires 6 arguments, but only 5 given arch/arm/mach-bcmring/core.c:56: warning: type defaults to 'int' in declaration of 'AMBA_APB_DEVICE' arch/arm/mach-bcmring/core.c:134: error: 'uartA_device' undeclared here (not in a function) arch/arm/mach-bcmring/core.c:135: error: 'uartB_device' undeclared here (not in a function) make[2]: *** [arch/arm/mach-bcmring/core.o] Error 1 It appeared as of commit 8ede1ae6 "ARM: amba: bcmring: use common amba device initializers" Note that in include/linux/amba/bus.h we have: #define AMBA_APB_DEVICE(name, busid, id, base, irqs, data) ... There is an a --> A case error in the busid and a missing zero placeholder for the id field. Cc: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com> [olof: reworded patch subject] Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- Mar 07, 2012
-
-
Rob Herring authored
Now that many platforms don't need mach/io.h, remove the unused ones. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Pawel Moll <pawel.moll@arm.com> Acked-by:
Nicolas Pitre <nico@linaro.org>
-
- Feb 21, 2012
-
-
Rob Herring authored
Now that most platforms don't need disable_fiq and arch_ret_to_user macros, we can remove the empty macros or empty entry-macro.S files. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Ryan Mallon <rmallon@gmail.com> Acked-by:
Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org>
-
- Feb 10, 2012
-
-
Jesper Juhl authored
There's no need to include the header twice. Signed-off-by:
Jesper Juhl <jj@chaosbits.net> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Feb 04, 2012
-
-
Paul Gortmaker authored
Upstream commit d1fce9c1 "ARM: restart: bcmring: use new restart hook" breaks building of this platform, since what used to be the last field of the MACHINE_START/END block didn't have a trailing comma. Once another field was added below, we get: arch/arm/mach-bcmring/arch.c:198: error: request for member 'restart' in something not a structure or union Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Acked-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
JD Zheng authored
Remove BCMRING DMA map code which is no longer used. This also fixes a build error with dma.c introduced by bfcd2ea6. Signed-off-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Olof Johansson <olof@lixom.net>
-
- Jan 26, 2012
-
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jan 21, 2012
-
-
Nicolas Pitre authored
When this is the only content remaining in mach/system.h then the whole file is removed. Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-and-tested-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
David Brown <davidb@codeaurora.org> Acked-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- Jan 05, 2012
-
-
Russell King authored
Remove the now empty arch_reset() from all the mach/system.h includes, and remove its callsite. Remove arm_machine_restart() as this function no longer does anything useful. For samsung platforms, remove the include of mach/system-reset.h and plat/system-reset.h from their respective mach/system.h headers as these just define their arch_reset functions. As a result, the s3c2410 and plat-samsung system-reset.h files are no longer referenced, so remove these files entirely. Acked-by:
Nicolas Pitre <nico@linaro.org> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Jamie Iles <jamie@jamieiles.com> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Hook the Shark restart code into the new restart hook rather than using arch_reset(). Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Dec 22, 2011
-
-
Kay Sievers authored
The sysdev.h file should not be needed by any in-kernel code, so remove the .h file from these random files that seem to still want to include it. The sysdev code will be going away soon, so this include needs to be removed no matter what. Cc: Jiandong Zheng <jdzheng@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Kukjin Kim <kgene.kim@samsung.com> Cc: David Brown <davidb@codeaurora.org> Cc: Daniel Walker <dwalker@fifo99.com> Cc: Bryan Huntsman <bryanh@codeaurora.org> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: "Venkatesh Pallipadi Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Matthew Garrett <mjg@redhat.com> Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org>
-
- Nov 27, 2011
-
-
Nicolas Pitre authored
Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-
- Nov 18, 2011
-
-
Nicolas Pitre authored
Using VMALLOC_END implies a presumption about the layout which is best avoided, even if in practice this would not change much. Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-
- Nov 09, 2011
-
-
Maxin B. John authored
Fixes this build error: CC arch/arm/mach-bcmring/dma.o arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg': arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier is reported only once arch/arm/mach-bcmring/dma.c:1022: error: for each function it appears in.) arch/arm/mach-bcmring/dma.c:1024: error: implicit declaration of function 'schedule' arch/arm/mach-bcmring/dma.c:1027: error: implicit declaration of function 'signal_pending' arch/arm/mach-bcmring/dma.c: In function 'dma_free_channel': arch/arm/mach-bcmring/dma.c:1092: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) arch/arm/mach-bcmring/dma.c: In function 'dma_map_add_region': arch/arm/mach-bcmring/dma.c:1946: error: dereferencing pointer to incomplete type arch/arm/mach-bcmring/dma.c:1948: error: dereferencing pointer to incomplete type arch/arm/mach-bcmring/dma.c:1955: error: dereferencing pointer to incomplete type make[1]: *** [arch/arm/mach-bcmring/dma.o] Error 1 make: *** [arch/arm/mach-bcmring] Error 2 Signed-off-by:
Maxin B. John <maxin.john@gmail.com> Reviewed-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Maxin B. John authored
Fixes this build error: CC arch/arm/mach-bcmring/core.o arch/arm/mach-bcmring/core.c: In function 'bcmring_init_timer': arch/arm/mach-bcmring/core.c:238: error: implicit declaration of function 'sp804_clockevents_register' make[1]: *** [arch/arm/mach-bcmring/core.o] Error 1 make: *** [arch/arm/mach-bcmring] Error 2 Signed-off-by:
Maxin B. John <maxin.john@gmail.com> Reviewed-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Oct 31, 2011
-
-
Paul Gortmaker authored
To fix this: arch/arm/mach-bcmring/dma.c: In function 'dma_request_channel_dbg': arch/arm/mach-bcmring/dma.c:1022: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function) arch/arm/mach-bcmring/dma.c:1022: error: (Each undeclared identifier is reported only once Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com>
-
Paul Gortmaker authored
Add the include to fix things like this: arch/arm/mach-sa1100/jornada720.c:278: error: 'PAGE_SHIFT' undeclared here (not in a function) arch/arm/mach-bcmring/mm.c:32: error: 'PAGE_SHIFT' undeclared here (not in a function) arch/arm/mach-sa1100/collie.c:361: error: 'PAGE_SHIFT' undeclared here (not in a function) Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com>
-
- Oct 17, 2011
-
-
Russell King authored
Get rid of the mdesc pointer in the fixup function call. No one uses the mdesc pointer, it shouldn't be modified anyway, and we can't wrap it, so let's remove it. Platform files found by: $ regexp=$(git grep -h '\.fixup.*=' arch/arm | sed 's!.*= *\([^,]*\),* *!\1!' | sort -u | tr '\n' '|' | sed 's,|$,,;s,|,\\|,g') $ git grep $regexp arch/arm Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Sascha Hauer authored
Boards used to specify zreladdr in their Makefile.boot with zreladdr-y := x, so conflicting zreladdrs were silently overwritten. This patch changes this to zreladdr-y += x, so that we end up with multiple words in zreladdr in such a case. We can detect this later and complain if necessary. Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Oct 13, 2011
-
-
Nicolas Pitre authored
Signed-off-by:
Nicolas Pitre <nicolas.pitre@linaro.org>
-
- Oct 06, 2011
-
-
Paul Bolle authored
There's no file named "drivers/char/bcmring/Kconfig". It seems it has never been part of the mainline kernel tree. So there's nothing to be sourced here. Signed-off-by:
Paul Bolle <pebolle@tiscali.nl> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Sep 15, 2011
-
-
Jesper Juhl authored
It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in arch/arm/. This patch removes them. Signed-off-by:
Jesper Juhl <jj@chaosbits.net> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Aug 22, 2011
-
-
Jon Medhurst authored
Signed-off-by:
Jon Medhurst <tixy@yxit.co.uk> CC: Jiandong Zheng <jdzheng@broadcom.com> CC: Scott Branden <sbranden@broadcom.com>
-
- Jul 26, 2011
-
-
Arun Sharma authored
This allows us to move duplicated code in <asm/atomic.h> (atomic_inc_not_zero() for now) to <linux/atomic.h> Signed-off-by:
Arun Sharma <asharma@fb.com> Reviewed-by:
Eric Dumazet <eric.dumazet@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Acked-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Jul 24, 2011
-
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
-
- Jul 19, 2011
-
-
Kyungmin Park authored
Now most of ARM machines has the alsmot same __clk_get/put() macro So place it at the arch/arm/include/asm/clkdev.h and remove the reduntant header files But some machines don't have the same form as above. It can use the machince specific clkdev file by HAVE_MACH_CLKDEV config Now there are only 3 caese. 1) define the clk structure with clkdev macro => Need to move clk structure to proper header file arch/arm/mach-versatile/include/mach/clkdev.h arch/arm/mach-realview/include/mach/clkdev.h arch/arm/mach-vexpress/include/mach/clkdev.h arch/arm/mach-integrator/include/mach/clkdev.h 2) export the __clk_get/put function at clock.c arch/arm/mach-shmobile/include/mach/clkdev.h 3) demuxing the clk source arch/arm/mach-u300/include/mach/clkdev.h Acked-by:
Viresh Kumar <viresh.kumar@st.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
- Jul 12, 2011
-
-
Rob Herring authored
Convert pcibios_assign_all_busses from a define to inline so platforms can control this setting. Signed-off-by:
Rob Herring <rob.herring@calxeda.com> Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by:
Arnd Bergmann <arnd@arndb.de>
-
- Jun 28, 2011
-
-
Russell King authored
Platforms provide an empty irq_prio_table macro, and as nothing uses this macro, it can simply be removed. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- May 23, 2011
-
-
Russell King authored
bcmring has a set of four sp804 timers incorporated, yet it has its own copy of the sp804 code. Convert its clockevent implementation to the standard sp804 support code. Cc: Jiandong Zheng <jdzheng@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
bcmring has a set of four sp804 timers incorporated, yet it has its own copy of the sp804 code. Convert its clocksource implementation to the standard sp804 support code. Cc: Jiandong Zheng <jdzheng@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Jiandong Zheng authored
Move adding clkdev table to init_early to make sure the common sp804 clockevents can be initialized properly. Signed-off-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Mar 31, 2011
-
-
Lucas De Marchi authored
Fixes generated by 'codespell' and manually reviewed. Signed-off-by:
Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Mar 29, 2011
-
-
Thomas Gleixner authored
Convert to the new function names. Automated with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- Feb 17, 2011
-
-
Russell King authored
This uncouple PHYS_OFFSET from the platform definitions, thereby facilitating run-time computation of the physical memory offset. Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by:
Viresh Kumar <viresh.kumar@st.com> Acked-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by:
Magnus Damm <damm@opensource.se> Acked-by:
Tony Lindgren <tony@atomide.com> Acked-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Wan ZongShun <mcuos.com@gmail.com> Acked-by:
Kukjin Kim <kgene.kim@samsung.com> Acked-by:
Eric Miao <eric.y.miao@gmail.com> Acked-by:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Jan 13, 2011
-
-
Lennert Buytenhek authored
Signed-off-by:
Lennert Buytenhek <buytenh@secretlab.ca> Acked-by:
Scott Branden <sbranden@broadcom.com>
-
- Jan 03, 2011
-
-
Stefan Weil authored
milisecond -> millisecond meassge -> message Cc: Kalle Valo <kvalo@adurom.com> Cc: Jiri Kosina <trivial@kernel.org> Cc: linux-kernel@vger.kernel.org Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Dec 22, 2010
-
-
Russell King authored
In d7e81c26 (clocksource: Add clocksource_register_hz/khz interface) new interfaces were added which simplify (and optimize) the selection of the divisor shift/mult constants. Switch over to using this new interface. Acked-By:
Scott Branden <sbranden@broadcom.com> Acked-By:
Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 26, 2010
-
-
Jean-Christop PLAGNIOL-VILLARD authored
factorise some generic infrastructure to assist looking up struct clks for the ARM & SH architecture. as the code is identical at 99% put the arch specific code for allocation as example in asm/clkdev.h Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by:
Paul Mundt <lethal@linux-sh.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 21, 2010
-
-
Anand Gadiyar authored
Commit 7c63984b (ARM: do not define VMALLOC_END relative to PAGE_OFFSET) changed VMALLOC_END to be an explicit value. Before this, it was relative to PAGE_OFFSET and therefore converted to unsigned long as PAGE_OFFSET is an unsigned long. This introduced the following build warning. Fix this by changing the explicit defines of VMALLOC_END to be unsigned long. CC arch/arm/mm/init.o arch/arm/mm/init.c: In function 'mem_init': arch/arm/mm/init.c:606: warning: format '%08lx' expects type 'long unsigned int', but argument 12 has type 'unsigned int' Signed-off-by:
Anand Gadiyar <gadiyar@ti.com> Acked-by:
Uwe Kleine-K <u.kleine-koenig@pengutronix.dee> Acked-by:
Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 01, 2010
-
-
Uwe Kleine-König authored
"gadget", "through", "command", "maintain", "maintain", "controller", "address", "between", "initiali[zs]e", "instead", "function", "select", "already", "equal", "access", "management", "hierarchy", "registration", "interest", "relative", "memory", "offset", "already", Signed-off-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-