Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258397
b: refs/heads/master
c: 4fddcae
h: refs/heads/master
i:
  258395: b7dc4ac
v: v3
  • Loading branch information
Nicolas Pitre authored and Nicolas Pitre committed Jul 18, 2011
1 parent 43c9d2c commit ffb9060
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 650320181a08b64d4421c65c639cf47ad8cc2cd6
refs/heads/master: 4fddcaebb9014b4814f859420595cc419400fba6
4 changes: 4 additions & 0 deletions trunk/arch/arm/include/asm/mach/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ struct machine_desc {

unsigned int nr_irqs; /* number of IRQs */

#ifdef CONFIG_ZONE_DMA
unsigned long dma_zone_size; /* size of DMA-able area */
#endif

unsigned int video_start; /* start of video RAM */
unsigned int video_end; /* end of video RAM */

Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,12 @@ void __init setup_arch(char **cmdline_p)
cpu_init();
tcm_init();

#ifdef CONFIG_ZONE_DMA
if (mdesc->dma_zone_size) {
extern unsigned long arm_dma_zone_size;
arm_dma_zone_size = mdesc->dma_zone_size;
}
#endif
#ifdef CONFIG_MULTI_IRQ_HANDLER
handle_arch_irq = mdesc->handle_irq;
#endif
Expand Down

0 comments on commit ffb9060

Please sign in to comment.