Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96436
b: refs/heads/master
c: 8d97b84
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed May 12, 2008
1 parent d5ec866 commit fd89762
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb0e8b0fba53e1aa6c4786bc465cfc641e8a77e7
refs/heads/master: 8d97b84935b28ed8944d1be31859a3df7ebe93ae
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ PHONY += systbl_chk
systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i
$(call cmd,systbl_chk)


ifeq ($(CONFIG_PPC_MERGE),y)

$(obj)/built-in.o: prom_init_check

quiet_cmd_prom_init_check = CALL $<
Expand All @@ -114,4 +117,7 @@ PHONY += prom_init_check
prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o
$(call cmd,prom_init_check)

endif


clean-files := vmlinux.lds
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/kernel/cputable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,6 +1484,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
.dcache_bsize = 32,
.machine_check = machine_check_e200,
.platform = "ppc5554",
}
#endif /* CONFIG_E200 */
#ifdef CONFIG_E500
{ /* e500 */
Expand Down Expand Up @@ -1533,6 +1534,7 @@ static struct cpu_spec __initdata cpu_specs[] = {
.dcache_bsize = 32,
.machine_check = machine_check_e500,
.platform = "powerpc",
}
#endif /* CONFIG_E500 */
#endif /* CONFIG_PPC32 */
};
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ifeq ($(CONFIG_PPC_MERGE),y)
obj-y := string.o alloc.o \
checksum_$(CONFIG_WORD_SIZE).o
obj-$(CONFIG_PPC32) += div64.o copy_32.o
obj-$(CONFIG_HAS_IOMEM) += devres.o
endif

obj-$(CONFIG_PPC64) += copypage_64.o copyuser_64.o \
Expand All @@ -23,4 +24,3 @@ obj-$(CONFIG_SMP) += locks.o
endif

obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o
obj-$(CONFIG_HAS_IOMEM) += devres.o
2 changes: 1 addition & 1 deletion trunk/arch/ppc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ KBUILD_AFLAGS += $(cpu-as-y)
KBUILD_CFLAGS += $(cpu-as-y)

# Default to the common case.
KBUILD_DEFCONFIG := common_defconfig
KBUILD_DEFCONFIG := ebony_defconfig

head-y := arch/ppc/kernel/head.o
head-$(CONFIG_8xx) := arch/ppc/kernel/head_8xx.o
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ppc/kernel/ppc_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <asm/checksum.h>
#include <asm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/cacheflush.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <linux/pmu.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ppc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <asm/nvram.h>
#include <asm/xmon.h>
#include <asm/ocp.h>
#include <asm/irq.h>

#define USES_PPC_SYS (defined(CONFIG_MPC10X_BRIDGE) || defined(CONFIG_8260) || \
defined(CONFIG_PPC_MPC52xx))
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ppc/platforms/residual.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/pci.h>
#include <linux/proc_fs.h>

#include <asm/sections.h>
#include <asm/mmu.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/rtrap.S
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ret_trap_userwins_ok:
LOAD_PT_PRIV(sp, t_psr, t_pc, t_npc)
or %t_pc, %t_npc, %g2
andcc %g2, 0x3, %g0
sethi %hi(PSR_SYCALL), %g2
sethi %hi(PSR_SYSCALL), %g2
be 1f
andn %t_psr, %g2, %t_psr

Expand Down
16 changes: 11 additions & 5 deletions trunk/arch/sparc64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,6 @@ static void __init remap_kernel(void)

static void __init inherit_prom_mappings(void)
{
read_obp_translations();

/* Now fixup OBP's idea about where we really are mapped. */
printk("Remapping the kernel... ");
remap_kernel();
Expand Down Expand Up @@ -1747,7 +1745,17 @@ void __init paging_init(void)

lmb_init();

/* Find available physical memory... */
/* Find available physical memory...
*
* Read it twice in order to work around a bug in openfirmware.
* The call to grab this table itself can cause openfirmware to
* allocate memory, which in turn can take away some space from
* the list of available memory. Reading it twice makes sure
* we really do get the final value.
*/
read_obp_translations();
read_obp_memory("reg", &pall[0], &pall_ents);
read_obp_memory("available", &pavail[0], &pavail_ents);
read_obp_memory("available", &pavail[0], &pavail_ents);

phys_base = 0xffffffffffffffffUL;
Expand Down Expand Up @@ -1788,8 +1796,6 @@ void __init paging_init(void)

inherit_prom_mappings();

read_obp_memory("reg", &pall[0], &pall_ents);

init_kpte_bitmap();

/* Ok, we can use our TLB miss and window trap handlers safely. */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/strip.c
Original file line number Diff line number Diff line change
Expand Up @@ -2611,7 +2611,7 @@ static int strip_open(struct tty_struct *tty)
* We need a write method.
*/

if (tty->ops->write == NULL)
if (tty->ops->write == NULL || tty->ops->set_termios == NULL)
return -EOPNOTSUPP;

/*
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/crisv10.c
Original file line number Diff line number Diff line change
Expand Up @@ -3808,7 +3808,7 @@ rs_close(struct tty_struct *tty, struct file * filp)

shutdown(info);
rs_flush_buffer(tty);
tty_ldisc_flush_buffer(tty);
tty_ldisc_flush(tty);
tty->closing = 0;
info->event = 0;
info->tty = 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/usb/c67x00/c67x00-ll-hpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <asm/byteorder.h>
#include <linux/io.h>
#include <linux/jiffies.h>
#include <linux/usb/c67x00.h>
#include "c67x00.h"

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size

}

extern inline void * xchg_ptr(void * m, void * val)
static inline void * xchg_ptr(void * m, void * val)
{
return (void *) xchg_u32(m, (unsigned long) val);
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-sparc/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#ifndef __ASSEMBLY__

#include <linux/types.h>

struct pt_regs {
unsigned long psr;
unsigned long pc;
Expand Down

0 comments on commit fd89762

Please sign in to comment.