Skip to content

Commit 4019371

Browse files
author
Linus Torvalds
committed
Merge HEAD from master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6
2 parents 8f3d17f + c594ada commit 4019371

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2232
-2048
lines changed

arch/ppc/boot/utils/addRamDisk.c

Lines changed: 0 additions & 203 deletions
This file was deleted.

arch/ppc64/Kconfig

Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,6 @@ config GENERIC_HARDIRQS
302302
bool
303303
default y
304304

305-
config MSCHUNKS
306-
bool
307-
depends on PPC_ISERIES
308-
default y
309-
310-
311305
config PPC_RTAS
312306
bool
313307
depends on PPC_PSERIES || PPC_BPA
@@ -350,13 +344,46 @@ config SECCOMP
350344

351345
If unsure, say Y. Only embedded should say N here.
352346

347+
source "fs/Kconfig.binfmt"
348+
349+
config HOTPLUG_CPU
350+
bool "Support for hot-pluggable CPUs"
351+
depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
352+
select HOTPLUG
353+
---help---
354+
Say Y here to be able to turn CPUs off and on.
355+
356+
Say N if you are unsure.
357+
358+
config PROC_DEVICETREE
359+
bool "Support for Open Firmware device tree in /proc"
360+
depends on !PPC_ISERIES
361+
help
362+
This option adds a device-tree directory under /proc which contains
363+
an image of the device tree that the kernel copies from Open
364+
Firmware. If unsure, say Y here.
365+
366+
config CMDLINE_BOOL
367+
bool "Default bootloader kernel arguments"
368+
depends on !PPC_ISERIES
369+
370+
config CMDLINE
371+
string "Initial kernel command string"
372+
depends on CMDLINE_BOOL
373+
default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
374+
help
375+
On some platforms, there is currently no way for the boot loader to
376+
pass arguments to the kernel. For these platforms, you can supply
377+
some command-line options at build time by entering them here. In
378+
most cases you will need to specify the root device here.
379+
353380
endmenu
354381

355382
config ISA_DMA_API
356383
bool
357384
default y
358385

359-
menu "General setup"
386+
menu "Bus Options"
360387

361388
config ISA
362389
bool
@@ -389,45 +416,12 @@ config PCI_DOMAINS
389416
bool
390417
default PCI
391418

392-
source "fs/Kconfig.binfmt"
393-
394419
source "drivers/pci/Kconfig"
395420

396-
config HOTPLUG_CPU
397-
bool "Support for hot-pluggable CPUs"
398-
depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
399-
select HOTPLUG
400-
---help---
401-
Say Y here to be able to turn CPUs off and on.
402-
403-
Say N if you are unsure.
404-
405421
source "drivers/pcmcia/Kconfig"
406422

407423
source "drivers/pci/hotplug/Kconfig"
408424

409-
config PROC_DEVICETREE
410-
bool "Support for Open Firmware device tree in /proc"
411-
depends on !PPC_ISERIES
412-
help
413-
This option adds a device-tree directory under /proc which contains
414-
an image of the device tree that the kernel copies from Open
415-
Firmware. If unsure, say Y here.
416-
417-
config CMDLINE_BOOL
418-
bool "Default bootloader kernel arguments"
419-
depends on !PPC_ISERIES
420-
421-
config CMDLINE
422-
string "Initial kernel command string"
423-
depends on CMDLINE_BOOL
424-
default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
425-
help
426-
On some platforms, there is currently no way for the boot loader to
427-
pass arguments to the kernel. For these platforms, you can supply
428-
some command-line options at build time by entering them here. In
429-
most cases you will need to specify the root device here.
430-
431425
endmenu
432426

433427
source "net/Kconfig"

arch/ppc64/boot/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323

2424
HOSTCC := gcc
25-
BOOTCFLAGS := $(HOSTCFLAGS) $(LINUXINCLUDE) -fno-builtin
26-
BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional
25+
BOOTCFLAGS := $(HOSTCFLAGS) -fno-builtin -nostdinc -isystem $(shell $(CROSS32CC) -print-file-name=include)
26+
BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
2727
BOOTLFLAGS := -Ttext 0x00400000 -e _start -T $(srctree)/$(src)/zImage.lds
2828
OBJCOPYFLAGS := contents,alloc,load,readonly,data
2929

arch/ppc64/boot/addnote.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ main(int ac, char **av)
157157
PUT_32BE(ns, strlen(arch) + 1);
158158
PUT_32BE(ns + 4, N_DESCR * 4);
159159
PUT_32BE(ns + 8, 0x1275);
160-
strcpy(&buf[ns + 12], arch);
160+
strcpy((char *) &buf[ns + 12], arch);
161161
ns += 12 + strlen(arch) + 1;
162162
for (i = 0; i < N_DESCR; ++i, ns += 4)
163163
PUT_32BE(ns, descr[i]);
@@ -172,7 +172,7 @@ main(int ac, char **av)
172172
PUT_32BE(ns, strlen(rpaname) + 1);
173173
PUT_32BE(ns + 4, sizeof(rpanote));
174174
PUT_32BE(ns + 8, 0x12759999);
175-
strcpy(&buf[ns + 12], rpaname);
175+
strcpy((char *) &buf[ns + 12], rpaname);
176176
ns += 12 + ROUNDUP(strlen(rpaname) + 1);
177177
for (i = 0; i < N_RPA_DESCR; ++i, ns += 4)
178178
PUT_32BE(ns, rpanote[i]);

arch/ppc64/boot/crt0.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* NOTE: this code runs in 32 bit mode and is packaged as ELF32.
1010
*/
1111

12-
#include <asm/ppc_asm.h>
12+
#include "ppc_asm.h"
1313

1414
.text
1515
.globl _start

arch/ppc64/boot/div64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* as published by the Free Software Foundation; either version
1414
* 2 of the License, or (at your option) any later version.
1515
*/
16-
#include <asm/ppc_asm.h>
16+
#include "ppc_asm.h"
1717

1818
.globl __div64_32
1919
__div64_32:

0 commit comments

Comments
 (0)