diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/8xx_io/cs4218_tdm.c | 6 | ||||
-rw-r--r-- | arch/ppc/Kconfig | 4 | ||||
-rw-r--r-- | arch/ppc/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/ppc/kernel/vmlinux.lds.S | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/lopec.c | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/pplus.c | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/prep_setup.c | 4 |
7 files changed, 14 insertions, 8 deletions
diff --git a/arch/ppc/8xx_io/cs4218_tdm.c b/arch/ppc/8xx_io/cs4218_tdm.c index 684ed04eb8b8..a956f28ab162 100644 --- a/arch/ppc/8xx_io/cs4218_tdm.c +++ b/arch/ppc/8xx_io/cs4218_tdm.c | |||
@@ -1711,7 +1711,7 @@ static int mixer_ioctl(struct inode *inode, struct file *file, u_int cmd, | |||
1711 | } | 1711 | } |
1712 | 1712 | ||
1713 | 1713 | ||
1714 | static struct file_operations mixer_fops = | 1714 | static const struct file_operations mixer_fops = |
1715 | { | 1715 | { |
1716 | .owner = THIS_MODULE, | 1716 | .owner = THIS_MODULE, |
1717 | .llseek = sound_lseek, | 1717 | .llseek = sound_lseek, |
@@ -2298,7 +2298,7 @@ static int sq_ioctl(struct inode *inode, struct file *file, u_int cmd, | |||
2298 | 2298 | ||
2299 | 2299 | ||
2300 | 2300 | ||
2301 | static struct file_operations sq_fops = | 2301 | static const struct file_operations sq_fops = |
2302 | { | 2302 | { |
2303 | .owner = THIS_MODULE, | 2303 | .owner = THIS_MODULE, |
2304 | .llseek = sound_lseek, | 2304 | .llseek = sound_lseek, |
@@ -2433,7 +2433,7 @@ static ssize_t state_read(struct file *file, char *buf, size_t count, | |||
2433 | } | 2433 | } |
2434 | 2434 | ||
2435 | 2435 | ||
2436 | static struct file_operations state_fops = | 2436 | static const struct file_operations state_fops = |
2437 | { | 2437 | { |
2438 | .owner = THIS_MODULE, | 2438 | .owner = THIS_MODULE, |
2439 | .llseek = sound_lseek, | 2439 | .llseek = sound_lseek, |
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index c22e60619d9b..0df9c33629fd 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig | |||
@@ -1177,6 +1177,10 @@ config ISA | |||
1177 | have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If | 1177 | have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If |
1178 | you have an embedded board, consult your board documentation. | 1178 | you have an embedded board, consult your board documentation. |
1179 | 1179 | ||
1180 | config ZONE_DMA | ||
1181 | bool | ||
1182 | default y | ||
1183 | |||
1180 | config GENERIC_ISA_DMA | 1184 | config GENERIC_ISA_DMA |
1181 | bool | 1185 | bool |
1182 | depends on 6xx && !CPM2 | 1186 | depends on 6xx && !CPM2 |
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index 3c506af19880..c79704f5409c 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -543,7 +543,7 @@ void __init setup_arch(char **cmdline_p) | |||
543 | init_mm.brk = (unsigned long) klimit; | 543 | init_mm.brk = (unsigned long) klimit; |
544 | 544 | ||
545 | /* Save unparsed command line copy for /proc/cmdline */ | 545 | /* Save unparsed command line copy for /proc/cmdline */ |
546 | strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE); | 546 | strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); |
547 | *cmdline_p = cmd_line; | 547 | *cmdline_p = cmd_line; |
548 | 548 | ||
549 | parse_early_param(); | 549 | parse_early_param(); |
diff --git a/arch/ppc/kernel/vmlinux.lds.S b/arch/ppc/kernel/vmlinux.lds.S index 61921268a0d0..a0625562a44b 100644 --- a/arch/ppc/kernel/vmlinux.lds.S +++ b/arch/ppc/kernel/vmlinux.lds.S | |||
@@ -135,10 +135,12 @@ SECTIONS | |||
135 | .data.percpu : { *(.data.percpu) } | 135 | .data.percpu : { *(.data.percpu) } |
136 | __per_cpu_end = .; | 136 | __per_cpu_end = .; |
137 | 137 | ||
138 | #ifdef CONFIG_BLK_DEV_INITRD | ||
138 | . = ALIGN(4096); | 139 | . = ALIGN(4096); |
139 | __initramfs_start = .; | 140 | __initramfs_start = .; |
140 | .init.ramfs : { *(.init.ramfs) } | 141 | .init.ramfs : { *(.init.ramfs) } |
141 | __initramfs_end = .; | 142 | __initramfs_end = .; |
143 | #endif | ||
142 | 144 | ||
143 | . = ALIGN(4096); | 145 | . = ALIGN(4096); |
144 | __init_end = .; | 146 | __init_end = .; |
diff --git a/arch/ppc/platforms/lopec.c b/arch/ppc/platforms/lopec.c index 18dc6e8dd4f4..b947c774f524 100644 --- a/arch/ppc/platforms/lopec.c +++ b/arch/ppc/platforms/lopec.c | |||
@@ -344,7 +344,7 @@ lopec_setup_arch(void) | |||
344 | if (bootargs != NULL) { | 344 | if (bootargs != NULL) { |
345 | strcpy(cmd_line, bootargs); | 345 | strcpy(cmd_line, bootargs); |
346 | /* again.. */ | 346 | /* again.. */ |
347 | strcpy(saved_command_line, cmd_line); | 347 | strcpy(boot_command_line, cmd_line); |
348 | } | 348 | } |
349 | } | 349 | } |
350 | #endif | 350 | #endif |
diff --git a/arch/ppc/platforms/pplus.c b/arch/ppc/platforms/pplus.c index 9778105d4dfe..8a1788c48155 100644 --- a/arch/ppc/platforms/pplus.c +++ b/arch/ppc/platforms/pplus.c | |||
@@ -592,7 +592,7 @@ static void __init pplus_setup_arch(void) | |||
592 | if (bootargs != NULL) { | 592 | if (bootargs != NULL) { |
593 | strcpy(cmd_line, bootargs); | 593 | strcpy(cmd_line, bootargs); |
594 | /* again.. */ | 594 | /* again.. */ |
595 | strcpy(saved_command_line, cmd_line); | 595 | strcpy(boot_command_line, cmd_line); |
596 | } | 596 | } |
597 | } | 597 | } |
598 | #endif | 598 | #endif |
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index 1cb75a1f825e..f166299571d6 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -634,7 +634,7 @@ static void __init prep_init_sound(void) | |||
634 | /* | 634 | /* |
635 | * Find a way to push these informations to the cs4232 driver | 635 | * Find a way to push these informations to the cs4232 driver |
636 | * Give it out with printk, when not in cmd_line? | 636 | * Give it out with printk, when not in cmd_line? |
637 | * Append it to cmd_line and saved_command_line? | 637 | * Append it to cmd_line and boot_command_line? |
638 | * Format is cs4232=io,irq,dma,dma2 | 638 | * Format is cs4232=io,irq,dma,dma2 |
639 | */ | 639 | */ |
640 | } | 640 | } |
@@ -897,7 +897,7 @@ prep_setup_arch(void) | |||
897 | if (bootargs != NULL) { | 897 | if (bootargs != NULL) { |
898 | strcpy(cmd_line, bootargs); | 898 | strcpy(cmd_line, bootargs); |
899 | /* again.. */ | 899 | /* again.. */ |
900 | strcpy(saved_command_line, cmd_line); | 900 | strcpy(boot_command_line, cmd_line); |
901 | } | 901 | } |
902 | } | 902 | } |
903 | 903 | ||