Skip to content

Commit

Permalink
Merge HEAD from master.kernel.org:/pub/scm/linux/kernel/git/paulus/pp…
Browse files Browse the repository at this point in the history
…c64-2.6
  • Loading branch information
Linus Torvalds committed Aug 30, 2005
2 parents 8f3d17f + c594ada commit 4019371
Show file tree
Hide file tree
Showing 73 changed files with 2,232 additions and 2,048 deletions.
203 changes: 0 additions & 203 deletions arch/ppc/boot/utils/addRamDisk.c

This file was deleted.

74 changes: 34 additions & 40 deletions arch/ppc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,6 @@ config GENERIC_HARDIRQS
bool
default y

config MSCHUNKS
bool
depends on PPC_ISERIES
default y


config PPC_RTAS
bool
depends on PPC_PSERIES || PPC_BPA
Expand Down Expand Up @@ -350,13 +344,46 @@ config SECCOMP

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

source "fs/Kconfig.binfmt"

config HOTPLUG_CPU
bool "Support for hot-pluggable CPUs"
depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
select HOTPLUG
---help---
Say Y here to be able to turn CPUs off and on.

Say N if you are unsure.

config PROC_DEVICETREE
bool "Support for Open Firmware device tree in /proc"
depends on !PPC_ISERIES
help
This option adds a device-tree directory under /proc which contains
an image of the device tree that the kernel copies from Open
Firmware. If unsure, say Y here.

config CMDLINE_BOOL
bool "Default bootloader kernel arguments"
depends on !PPC_ISERIES

config CMDLINE
string "Initial kernel command string"
depends on CMDLINE_BOOL
default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
help
On some platforms, there is currently no way for the boot loader to
pass arguments to the kernel. For these platforms, you can supply
some command-line options at build time by entering them here. In
most cases you will need to specify the root device here.

endmenu

config ISA_DMA_API
bool
default y

menu "General setup"
menu "Bus Options"

config ISA
bool
Expand Down Expand Up @@ -389,45 +416,12 @@ config PCI_DOMAINS
bool
default PCI

source "fs/Kconfig.binfmt"

source "drivers/pci/Kconfig"

config HOTPLUG_CPU
bool "Support for hot-pluggable CPUs"
depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
select HOTPLUG
---help---
Say Y here to be able to turn CPUs off and on.

Say N if you are unsure.

source "drivers/pcmcia/Kconfig"

source "drivers/pci/hotplug/Kconfig"

config PROC_DEVICETREE
bool "Support for Open Firmware device tree in /proc"
depends on !PPC_ISERIES
help
This option adds a device-tree directory under /proc which contains
an image of the device tree that the kernel copies from Open
Firmware. If unsure, say Y here.

config CMDLINE_BOOL
bool "Default bootloader kernel arguments"
depends on !PPC_ISERIES

config CMDLINE
string "Initial kernel command string"
depends on CMDLINE_BOOL
default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
help
On some platforms, there is currently no way for the boot loader to
pass arguments to the kernel. For these platforms, you can supply
some command-line options at build time by entering them here. In
most cases you will need to specify the root device here.

endmenu

source "net/Kconfig"
Expand Down
4 changes: 2 additions & 2 deletions arch/ppc64/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@


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

Expand Down
4 changes: 2 additions & 2 deletions arch/ppc64/boot/addnote.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ main(int ac, char **av)
PUT_32BE(ns, strlen(arch) + 1);
PUT_32BE(ns + 4, N_DESCR * 4);
PUT_32BE(ns + 8, 0x1275);
strcpy(&buf[ns + 12], arch);
strcpy((char *) &buf[ns + 12], arch);
ns += 12 + strlen(arch) + 1;
for (i = 0; i < N_DESCR; ++i, ns += 4)
PUT_32BE(ns, descr[i]);
Expand All @@ -172,7 +172,7 @@ main(int ac, char **av)
PUT_32BE(ns, strlen(rpaname) + 1);
PUT_32BE(ns + 4, sizeof(rpanote));
PUT_32BE(ns + 8, 0x12759999);
strcpy(&buf[ns + 12], rpaname);
strcpy((char *) &buf[ns + 12], rpaname);
ns += 12 + ROUNDUP(strlen(rpaname) + 1);
for (i = 0; i < N_RPA_DESCR; ++i, ns += 4)
PUT_32BE(ns, rpanote[i]);
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc64/boot/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* NOTE: this code runs in 32 bit mode and is packaged as ELF32.
*/

#include <asm/ppc_asm.h>
#include "ppc_asm.h"

.text
.globl _start
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc64/boot/div64.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#include <asm/ppc_asm.h>
#include "ppc_asm.h"

.globl __div64_32
__div64_32:
Expand Down
Loading

0 comments on commit 4019371

Please sign in to comment.