diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-02-13 00:57:21 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-02-13 00:57:21 -0500 |
commit | 54c66f6d781e03dc0b23956234963c4911e6d1c0 (patch) | |
tree | 40619a66ae6d8703a57bf681d087ffeabbffd346 /arch/arm26 | |
parent | 8ce0a7df6e6117d8814e976d4b7ce6a6b2c9cf93 (diff) | |
parent | 17e0e27020d028a790d97699aff85a43af5be472 (diff) |
Merge branch 'master' into 85xx
Diffstat (limited to 'arch/arm26')
-rw-r--r-- | arch/arm26/Kconfig | 4 | ||||
-rw-r--r-- | arch/arm26/kernel/ecard.c | 2 | ||||
-rw-r--r-- | arch/arm26/kernel/setup.c | 6 | ||||
-rw-r--r-- | arch/arm26/kernel/time.c | 8 | ||||
-rw-r--r-- | arch/arm26/kernel/vmlinux-arm26-xip.lds.in | 2 | ||||
-rw-r--r-- | arch/arm26/kernel/vmlinux-arm26.lds.in | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm26/Kconfig b/arch/arm26/Kconfig index 74eba8b5a8ca..989113dce415 100644 --- a/arch/arm26/Kconfig +++ b/arch/arm26/Kconfig | |||
@@ -60,6 +60,10 @@ config GENERIC_CALIBRATE_DELAY | |||
60 | config GENERIC_BUST_SPINLOCK | 60 | config GENERIC_BUST_SPINLOCK |
61 | bool | 61 | bool |
62 | 62 | ||
63 | config ZONE_DMA | ||
64 | bool | ||
65 | default y | ||
66 | |||
63 | config GENERIC_ISA_DMA | 67 | config GENERIC_ISA_DMA |
64 | bool | 68 | bool |
65 | 69 | ||
diff --git a/arch/arm26/kernel/ecard.c b/arch/arm26/kernel/ecard.c index 9dbc17247c6f..e2bcefc91cc3 100644 --- a/arch/arm26/kernel/ecard.c +++ b/arch/arm26/kernel/ecard.c | |||
@@ -665,7 +665,7 @@ ecard_probe(int slot, card_type_t type) | |||
665 | ec->fiqmask = 4; | 665 | ec->fiqmask = 4; |
666 | } | 666 | } |
667 | 667 | ||
668 | for (i = 0; i < sizeof(blacklist) / sizeof(*blacklist); i++) | 668 | for (i = 0; i < ARRAY_SIZE(blacklist); i++) |
669 | if (blacklist[i].manufacturer == ec->cid.manufacturer && | 669 | if (blacklist[i].manufacturer == ec->cid.manufacturer && |
670 | blacklist[i].product == ec->cid.product) { | 670 | blacklist[i].product == ec->cid.product) { |
671 | ec->card_desc = blacklist[i].type; | 671 | ec->card_desc = blacklist[i].type; |
diff --git a/arch/arm26/kernel/setup.c b/arch/arm26/kernel/setup.c index 466ddb54b44f..0e006c6cd5a0 100644 --- a/arch/arm26/kernel/setup.c +++ b/arch/arm26/kernel/setup.c | |||
@@ -80,7 +80,7 @@ unsigned long phys_initrd_size __initdata = 0; | |||
80 | static struct meminfo meminfo __initdata = { 0, }; | 80 | static struct meminfo meminfo __initdata = { 0, }; |
81 | static struct proc_info_item proc_info; | 81 | static struct proc_info_item proc_info; |
82 | static const char *machine_name; | 82 | static const char *machine_name; |
83 | static char command_line[COMMAND_LINE_SIZE]; | 83 | static char __initdata command_line[COMMAND_LINE_SIZE]; |
84 | 84 | ||
85 | static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; | 85 | static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE; |
86 | 86 | ||
@@ -492,8 +492,8 @@ void __init setup_arch(char **cmdline_p) | |||
492 | init_mm.end_data = (unsigned long) &_edata; | 492 | init_mm.end_data = (unsigned long) &_edata; |
493 | init_mm.brk = (unsigned long) &_end; | 493 | init_mm.brk = (unsigned long) &_end; |
494 | 494 | ||
495 | memcpy(saved_command_line, from, COMMAND_LINE_SIZE); | 495 | memcpy(boot_command_line, from, COMMAND_LINE_SIZE); |
496 | saved_command_line[COMMAND_LINE_SIZE-1] = '\0'; | 496 | boot_command_line[COMMAND_LINE_SIZE-1] = '\0'; |
497 | parse_cmdline(&meminfo, cmdline_p, from); | 497 | parse_cmdline(&meminfo, cmdline_p, from); |
498 | bootmem_init(&meminfo); | 498 | bootmem_init(&meminfo); |
499 | paging_init(&meminfo); | 499 | paging_init(&meminfo); |
diff --git a/arch/arm26/kernel/time.c b/arch/arm26/kernel/time.c index 1206469b2b86..0f1d57fbd3d7 100644 --- a/arch/arm26/kernel/time.c +++ b/arch/arm26/kernel/time.c | |||
@@ -89,14 +89,6 @@ static unsigned long gettimeoffset(void) | |||
89 | return (offset + LATCH/2) / LATCH; | 89 | return (offset + LATCH/2) / LATCH; |
90 | } | 90 | } |
91 | 91 | ||
92 | /* | ||
93 | * Scheduler clock - returns current time in nanosec units. | ||
94 | */ | ||
95 | unsigned long long sched_clock(void) | ||
96 | { | ||
97 | return (unsigned long long)jiffies * (1000000000 / HZ); | ||
98 | } | ||
99 | |||
100 | static unsigned long next_rtc_update; | 92 | static unsigned long next_rtc_update; |
101 | 93 | ||
102 | /* | 94 | /* |
diff --git a/arch/arm26/kernel/vmlinux-arm26-xip.lds.in b/arch/arm26/kernel/vmlinux-arm26-xip.lds.in index ca61ec8218fe..046a85054018 100644 --- a/arch/arm26/kernel/vmlinux-arm26-xip.lds.in +++ b/arch/arm26/kernel/vmlinux-arm26-xip.lds.in | |||
@@ -46,10 +46,12 @@ SECTIONS | |||
46 | __con_initcall_start = .; | 46 | __con_initcall_start = .; |
47 | *(.con_initcall.init) | 47 | *(.con_initcall.init) |
48 | __con_initcall_end = .; | 48 | __con_initcall_end = .; |
49 | #ifdef CONFIG_BLK_DEV_INITRD | ||
49 | . = ALIGN(32); | 50 | . = ALIGN(32); |
50 | __initramfs_start = .; | 51 | __initramfs_start = .; |
51 | usr/built-in.o(.init.ramfs) | 52 | usr/built-in.o(.init.ramfs) |
52 | __initramfs_end = .; | 53 | __initramfs_end = .; |
54 | #endif | ||
53 | . = ALIGN(32768); | 55 | . = ALIGN(32768); |
54 | __init_end = .; | 56 | __init_end = .; |
55 | } | 57 | } |
diff --git a/arch/arm26/kernel/vmlinux-arm26.lds.in b/arch/arm26/kernel/vmlinux-arm26.lds.in index d1d3418d7eb6..1d2949e83be8 100644 --- a/arch/arm26/kernel/vmlinux-arm26.lds.in +++ b/arch/arm26/kernel/vmlinux-arm26.lds.in | |||
@@ -47,10 +47,12 @@ SECTIONS | |||
47 | __con_initcall_start = .; | 47 | __con_initcall_start = .; |
48 | *(.con_initcall.init) | 48 | *(.con_initcall.init) |
49 | __con_initcall_end = .; | 49 | __con_initcall_end = .; |
50 | #ifdef CONFIG_BLK_DEV_INITRD | ||
50 | . = ALIGN(32); | 51 | . = ALIGN(32); |
51 | __initramfs_start = .; | 52 | __initramfs_start = .; |
52 | usr/built-in.o(.init.ramfs) | 53 | usr/built-in.o(.init.ramfs) |
53 | __initramfs_end = .; | 54 | __initramfs_end = .; |
55 | #endif | ||
54 | . = ALIGN(32768); | 56 | . = ALIGN(32768); |
55 | __init_end = .; | 57 | __init_end = .; |
56 | } | 58 | } |