Commit 897ed789 authored by Russell King's avatar Russell King

[ARM PATCH] 1331/1: Shark: Compilation fixes

Patch from Alexander Schulz

Hello,

the current kernel version gave me some errors when compiling for
the Shark. This patch fixes those errors.

Regards
  Alexander
parent eeaabd9f
...@@ -27,7 +27,7 @@ create_params (unsigned long *buffer) ...@@ -27,7 +27,7 @@ create_params (unsigned long *buffer)
/* Head of the taglist */ /* Head of the taglist */
tag->hdr.tag = ATAG_CORE; tag->hdr.tag = ATAG_CORE;
tag->hdr.size = tag_size(tag_core); tag->hdr.size = tag_size(tag_core);
tag->u.core.flags = FLAG_READONLY; tag->u.core.flags = 1;
tag->u.core.pagesize = PAGE_SIZE; tag->u.core.pagesize = PAGE_SIZE;
tag->u.core.rootdev = 0; tag->u.core.rootdev = 0;
......
...@@ -42,6 +42,6 @@ ide_init_default_hwifs(void) ...@@ -42,6 +42,6 @@ ide_init_default_hwifs(void)
ide_init_hwif_ports(&hw, 0x1f0, 0x3f6, NULL); ide_init_hwif_ports(&hw, 0x1f0, 0x3f6, NULL);
hw.irq = 14; hw.irq = 14;
ide_register_hw(&hw); ide_register_hw(&hw,NULL);
} }
...@@ -7,5 +7,6 @@ ...@@ -7,5 +7,6 @@
#define NR_IRQS 16 #define NR_IRQS 16
#define IRQ_ISA_KEYBOARD 1 #define IRQ_ISA_KEYBOARD 1
#define RTC_IRQ 8
#define AUX_IRQ 12 #define AUX_IRQ 12
#define IRQ_HARDDISK 14 #define IRQ_HARDDISK 14
...@@ -38,6 +38,4 @@ ...@@ -38,6 +38,4 @@
#define __bus_to_virt__is_a_macro #define __bus_to_virt__is_a_macro
#define __bus_to_virt(x) __phys_to_virt(x) #define __bus_to_virt(x) __phys_to_virt(x)
#define isa_virt_to_bus virt_to_bus
#endif #endif
...@@ -3,3 +3,5 @@ ...@@ -3,3 +3,5 @@
* *
* by Alexander Schulz * by Alexander Schulz
*/ */
#define CLOCK_TICK_RATE 1193180
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment