diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/Kconfig | 4 | ||||
-rw-r--r-- | arch/blackfin/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 7 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/H8606.c | 7 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 7 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/coreb.c | 1 | ||||
-rw-r--r-- | arch/blackfin/mm/init.c | 27 |
7 files changed, 22 insertions, 33 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index efa77f3a30d8..5a097c46bc46 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -845,8 +845,8 @@ config HOTPLUG | |||
845 | plugged into slots found on all modern laptop computers. Another | 845 | plugged into slots found on all modern laptop computers. Another |
846 | example, used on modern desktops as well as laptops, is USB. | 846 | example, used on modern desktops as well as laptops, is USB. |
847 | 847 | ||
848 | Enable HOTPLUG and KMOD, and build a modular kernel. Get agent | 848 | Enable HOTPLUG and build a modular kernel. Get agent software |
849 | software (at <http://linux-hotplug.sourceforge.net/>) and install it. | 849 | (from <http://linux-hotplug.sourceforge.net/>) and install it. |
850 | Then your kernel will automatically call out to a user mode "policy | 850 | Then your kernel will automatically call out to a user mode "policy |
851 | agent" (/sbin/hotplug) to load modules and set up software needed | 851 | agent" (/sbin/hotplug) to load modules and set up software needed |
852 | to use devices as you hotplug them. | 852 | to use devices as you hotplug them. |
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index 53c2cd255441..77800dd83e57 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c | |||
@@ -105,7 +105,7 @@ void cpu_idle(void) | |||
105 | #endif | 105 | #endif |
106 | if (!idle) | 106 | if (!idle) |
107 | idle = default_idle; | 107 | idle = default_idle; |
108 | tick_nohz_stop_sched_tick(); | 108 | tick_nohz_stop_sched_tick(1); |
109 | while (!need_resched()) | 109 | while (!need_resched()) |
110 | idle(); | 110 | idle(); |
111 | tick_nohz_restart_sched_tick(); | 111 | tick_nohz_restart_sched_tick(); |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 5958eecefcf1..689b69c98ee4 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -323,10 +323,15 @@ static struct platform_device smc91x_device = { | |||
323 | static struct resource dm9000_resources[] = { | 323 | static struct resource dm9000_resources[] = { |
324 | [0] = { | 324 | [0] = { |
325 | .start = 0x203FB800, | 325 | .start = 0x203FB800, |
326 | .end = 0x203FB800 + 8, | 326 | .end = 0x203FB800 + 1, |
327 | .flags = IORESOURCE_MEM, | 327 | .flags = IORESOURCE_MEM, |
328 | }, | 328 | }, |
329 | [1] = { | 329 | [1] = { |
330 | .start = 0x203FB800 + 4, | ||
331 | .end = 0x203FB800 + 5, | ||
332 | .flags = IORESOURCE_MEM, | ||
333 | }, | ||
334 | [2] = { | ||
330 | .start = IRQ_PF9, | 335 | .start = IRQ_PF9, |
331 | .end = IRQ_PF9, | 336 | .end = IRQ_PF9, |
332 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | 337 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), |
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 7cc4864f6aaf..4103a97c1a70 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -65,10 +65,15 @@ static struct platform_device rtc_device = { | |||
65 | static struct resource dm9000_resources[] = { | 65 | static struct resource dm9000_resources[] = { |
66 | [0] = { | 66 | [0] = { |
67 | .start = 0x20300000, | 67 | .start = 0x20300000, |
68 | .end = 0x20300000 + 8, | 68 | .end = 0x20300000 + 1, |
69 | .flags = IORESOURCE_MEM, | 69 | .flags = IORESOURCE_MEM, |
70 | }, | 70 | }, |
71 | [1] = { | 71 | [1] = { |
72 | .start = 0x20300000 + 4, | ||
73 | .end = 0x20300000 + 5, | ||
74 | .flags = IORESOURCE_MEM, | ||
75 | }, | ||
76 | [2] = { | ||
72 | .start = IRQ_PF10, | 77 | .start = IRQ_PF10, |
73 | .end = IRQ_PF10, | 78 | .end = IRQ_PF10, |
74 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | 79 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), |
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c index 7d250828dad8..01b63e2ec18f 100644 --- a/arch/blackfin/mach-bf537/boards/generic_board.c +++ b/arch/blackfin/mach-bf537/boards/generic_board.c | |||
@@ -166,10 +166,15 @@ static struct platform_device smc91x_device = { | |||
166 | static struct resource dm9000_resources[] = { | 166 | static struct resource dm9000_resources[] = { |
167 | [0] = { | 167 | [0] = { |
168 | .start = 0x203FB800, | 168 | .start = 0x203FB800, |
169 | .end = 0x203FB800 + 8, | 169 | .end = 0x203FB800 + 1, |
170 | .flags = IORESOURCE_MEM, | 170 | .flags = IORESOURCE_MEM, |
171 | }, | 171 | }, |
172 | [1] = { | 172 | [1] = { |
173 | .start = 0x203FB800 + 4, | ||
174 | .end = 0x203FB800 + 5, | ||
175 | .flags = IORESOURCE_MEM, | ||
176 | }, | ||
177 | [2] = { | ||
173 | .start = IRQ_PF9, | 178 | .start = IRQ_PF9, |
174 | .end = IRQ_PF9, | 179 | .end = IRQ_PF9, |
175 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | 180 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), |
diff --git a/arch/blackfin/mach-bf561/coreb.c b/arch/blackfin/mach-bf561/coreb.c index 1b44e9e6dc3b..8598098c0840 100644 --- a/arch/blackfin/mach-bf561/coreb.c +++ b/arch/blackfin/mach-bf561/coreb.c | |||
@@ -194,6 +194,7 @@ static loff_t coreb_lseek(struct file *file, loff_t offset, int origin) | |||
194 | return ret; | 194 | return ret; |
195 | } | 195 | } |
196 | 196 | ||
197 | /* No BKL needed here */ | ||
197 | static int coreb_open(struct inode *inode, struct file *file) | 198 | static int coreb_open(struct inode *inode, struct file *file) |
198 | { | 199 | { |
199 | spin_lock_irq(&coreb_lock); | 200 | spin_lock_irq(&coreb_lock); |
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index 4aab21f44096..bc240abb8745 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
@@ -53,33 +53,6 @@ static unsigned long empty_bad_page; | |||
53 | 53 | ||
54 | unsigned long empty_zero_page; | 54 | unsigned long empty_zero_page; |
55 | 55 | ||
56 | void show_mem(void) | ||
57 | { | ||
58 | unsigned long i; | ||
59 | int free = 0, total = 0, reserved = 0, shared = 0; | ||
60 | |||
61 | int cached = 0; | ||
62 | printk(KERN_INFO "Mem-info:\n"); | ||
63 | show_free_areas(); | ||
64 | i = max_mapnr; | ||
65 | while (i-- > 0) { | ||
66 | total++; | ||
67 | if (PageReserved(mem_map + i)) | ||
68 | reserved++; | ||
69 | else if (PageSwapCache(mem_map + i)) | ||
70 | cached++; | ||
71 | else if (!page_count(mem_map + i)) | ||
72 | free++; | ||
73 | else | ||
74 | shared += page_count(mem_map + i) - 1; | ||
75 | } | ||
76 | printk(KERN_INFO "%d pages of RAM\n", total); | ||
77 | printk(KERN_INFO "%d free pages\n", free); | ||
78 | printk(KERN_INFO "%d reserved pages\n", reserved); | ||
79 | printk(KERN_INFO "%d pages shared\n", shared); | ||
80 | printk(KERN_INFO "%d pages swap cached\n", cached); | ||
81 | } | ||
82 | |||
83 | /* | 56 | /* |
84 | * paging_init() continues the virtual memory environment setup which | 57 | * paging_init() continues the virtual memory environment setup which |
85 | * was begun by the code in arch/head.S. | 58 | * was begun by the code in arch/head.S. |