diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 20:24:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 20:24:25 -0400 |
commit | bab2d8c6020e1d7521cb6c4939f72b061ce947bc (patch) | |
tree | 6854225ef6027c933bfc7647c55d28c4ad930f20 /arch/openrisc/kernel/setup.c | |
parent | 0e65ae099ca6a70a7a521e0358c57d43ec95dce5 (diff) | |
parent | fa8d9d74c360726fe743b08af00ee3d0e0eb8bc1 (diff) |
Merge tag 'for-3.4' of git://openrisc.net/jonas/linux
Pull OpenRISC changes for 3.4 from Jonas Bonn:
"This series for the OpenRISC architecture consists of mostly trivial
fixups. The most interesting bits of the series are:
* A fix to the timer code whereby the shortest trigger period is set
to 100 cycles; previously, it was possible to set this to 1 cycle,
but by the time the register was written, that time had already
passed and the timer interrupt would not go off until the cycle
counter had gone a full cycle.
* Allowing a device tree binary to be passed in to the kernel from
u-boot. The OpenRISC architecture has been recently merged into
upstream u-boot, so this change gets OpenRISC Linux into sync with
that project."
* tag 'for-3.4' of git://openrisc.net/jonas/linux:
OpenRISC: Remove memory_start/end prototypes
openrisc: remove semicolon from KSTK_ defs
openrisc: sanitize use of orig_gpr11
openrisc: fix virt_addr_valid
OpenRISC: Export dump_stack()
OpenRISC: Select GENERIC_ATOMIC64
openrisc: Set shortest clock event to 100 ticks
openrisc: included linux/thread_info.h twice
OpenRISC: Use set_current_blocked() and block_sigmask()
OpenRISC: Don't mask signals if we fail to setup signal stack
OpenRISC: No need to reset handler if SA_ONESHOT
OpenRISC: Don't reimplement force_sigsegv()
openrisc: enable passing of flattened device tree pointer
arch/openrisc/mm/init.c: trivial: use BUG_ON
Diffstat (limited to 'arch/openrisc/kernel/setup.c')
-rw-r--r-- | arch/openrisc/kernel/setup.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/openrisc/kernel/setup.c b/arch/openrisc/kernel/setup.c index 1422f747f52b..bf5eba22ce9e 100644 --- a/arch/openrisc/kernel/setup.c +++ b/arch/openrisc/kernel/setup.c | |||
@@ -207,18 +207,18 @@ void __init setup_cpuinfo(void) | |||
207 | * Handles the pointer to the device tree that this kernel is to use | 207 | * Handles the pointer to the device tree that this kernel is to use |
208 | * for establishing the available platform devices. | 208 | * for establishing the available platform devices. |
209 | * | 209 | * |
210 | * For now, this is limited to using the built-in device tree. In the future, | 210 | * Falls back on built-in device tree in case null pointer is passed. |
211 | * it is intended that this function will take a pointer to the device tree | ||
212 | * that is potentially built-in, but potentially also passed in by the | ||
213 | * bootloader, or discovered by some equally clever means... | ||
214 | */ | 211 | */ |
215 | 212 | ||
216 | void __init or32_early_setup(void) | 213 | void __init or32_early_setup(unsigned int fdt) |
217 | { | 214 | { |
218 | 215 | if (fdt) { | |
219 | early_init_devtree(__dtb_start); | 216 | early_init_devtree((void*) fdt); |
220 | 217 | printk(KERN_INFO "FDT at 0x%08x\n", fdt); | |
221 | printk(KERN_INFO "Compiled-in FDT at 0x%p\n", __dtb_start); | 218 | } else { |
219 | early_init_devtree(__dtb_start); | ||
220 | printk(KERN_INFO "Compiled-in FDT at %p\n", __dtb_start); | ||
221 | } | ||
222 | } | 222 | } |
223 | 223 | ||
224 | static int __init openrisc_device_probe(void) | 224 | static int __init openrisc_device_probe(void) |