Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62196
b: refs/heads/master
c: 798d902
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Jul 20, 2007
1 parent 61b59ac commit 73a31d6
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 19 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: 0b1937ac0ef1541c0ea44e6f81c33d2f59803957
refs/heads/master: 798d9023e440085f00b352f1c1af8894959ff63e
11 changes: 3 additions & 8 deletions trunk/drivers/char/tpm/tpm_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,23 +465,18 @@ static int tpm_binary_bios_measurements_open(struct inode *inode,
return -ENOMEM;

if ((err = read_log(log)))
goto out_free;
return err;

/* now register seq file */
err = seq_open(file, &tpm_binary_b_measurments_seqops);
if (!err) {
seq = file->private_data;
seq->private = log;
} else {
goto out_free;
kfree(log->bios_event_log);
kfree(log);
}

out:
return err;
out_free:
kfree(log->bios_event_log);
kfree(log);
goto out;
}

const struct file_operations tpm_binary_bios_measurements_ops = {
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-cobalt/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2006, 07 Ralf Baechle (ralf@linux-mips.org)
*/
#ifndef __ASM_COBALT_CPU_FEATURE_OVERRIDES_H
#define __ASM_COBALT_CPU_FEATURE_OVERRIDES_H
Expand Down Expand Up @@ -46,6 +46,7 @@
#define cpu_has_ic_fills_f_dc 0
#define cpu_icache_snoops_remote_store 0
#define cpu_has_dsp 0
#define cpu_has_mipsmt 0

#define cpu_has_mips32r1 0
#define cpu_has_mips32r2 0
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-mips/mach-excite/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* for more details.
*
* Copyright (C) 2004 Thomas Koeller <thomas.koeller@baslerweb.com>
* Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org)
*/
#ifndef __ASM_MACH_EXCITE_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_EXCITE_CPU_FEATURE_OVERRIDES_H
Expand All @@ -27,6 +28,7 @@
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
#define cpu_icache_snoops_remote_store 0
#define cpu_has_mipsmt 0

#define cpu_has_nofpuex 0
#define cpu_has_64bits 1
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-ip22/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003 Ralf Baechle
* Copyright (C) 2003, 07 Ralf Baechle
*/
#ifndef __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_IP22_CPU_FEATURE_OVERRIDES_H
Expand All @@ -30,6 +30,7 @@
#define cpu_has_ic_fills_f_dc 0

#define cpu_has_dsp 0
#define cpu_has_mipsmt 0

#define cpu_has_nofpuex 0
#define cpu_has_64bits 1
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-ip27/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003 Ralf Baechle
* Copyright (C) 2003, 07 Ralf Baechle
*/
#ifndef __ASM_MACH_IP27_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_IP27_CPU_FEATURE_OVERRIDES_H
Expand All @@ -27,6 +27,7 @@
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
#define cpu_icache_snoops_remote_store 1
#define cpu_has_mipsmt 0

#define cpu_has_nofpuex 0
#define cpu_has_64bits 1
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-ip32/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* for more details.
*
* Copyright (C) 2005 Ilya A. Volynets-Evenbakh
* Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2005, 07 Ralf Baechle (ralf@linux-mips.org)
*/
#ifndef __ASM_MACH_IP32_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_IP32_CPU_FEATURE_OVERRIDES_H
Expand Down Expand Up @@ -38,6 +38,7 @@
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
#define cpu_has_4k_cache 1
#define cpu_has_mipsmt 0


#define cpu_has_mips32r1 0
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-qemu/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003 Ralf Baechle
* Copyright (C) 2003, 07 Ralf Baechle
*/
#ifndef __ASM_MACH_QEMU_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_QEMU_CPU_FEATURE_OVERRIDES_H
Expand All @@ -24,6 +24,7 @@
#define cpu_has_ic_fills_f_dc 0

#define cpu_has_dsp 0
#define cpu_has_mipsmt 0

#define cpu_has_nofpuex 0
#define cpu_has_64bits 0
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-rm/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003, 2004 Ralf Baechle
* Copyright (C) 2003, 04, 07 Ralf Baechle (ralf@linux-mips.org)
*
* SNI RM200 C apparently was only shipped with R4600 V2.0 and R5000 processors.
*/
Expand Down Expand Up @@ -32,6 +32,7 @@
#define cpu_has_dsp 0
#define cpu_has_nofpuex 0
#define cpu_has_64bits 1
#define cpu_has_mipsmt 0

#define cpu_has_mips32r1 0
#define cpu_has_mips32r2 0
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-sibyte/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003, 2004 Ralf Baechle
* Copyright (C) 2003, 04, 07 Ralf Baechle (ralf@linux-mips.org)
*/
#ifndef __ASM_MACH_SIBYTE_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_SIBYTE_CPU_FEATURE_OVERRIDES_H
Expand All @@ -26,6 +26,7 @@
#define cpu_has_dc_aliases 0
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
#define cpu_has_mipsmt 0
#define cpu_icache_snoops_remote_store 0

#define cpu_has_nofpuex 0
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-mips/mach-yosemite/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2003, 2004 Ralf Baechle
* Copyright (C) 2003, 04, 07 Ralf Baechle (ralf@linux-mips.org)
*/
#ifndef __ASM_MACH_YOSEMITE_CPU_FEATURE_OVERRIDES_H
#define __ASM_MACH_YOSEMITE_CPU_FEATURE_OVERRIDES_H
Expand All @@ -26,6 +26,7 @@
#define cpu_has_dc_aliases 0
#define cpu_has_ic_fills_f_dc 0
#define cpu_has_dsp 0
#define cpu_has_mipsmt 0
#define cpu_icache_snoops_remote_store 0

#define cpu_has_nofpuex 0
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/ksysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ KERNEL_ATTR_RO(kexec_crash_loaded);
/*
* Make /sys/kernel/notes give the raw contents of our kernel .notes section.
*/
extern const void __start_notes __attribute__((weak));
extern const void __stop_notes __attribute__((weak));
extern const char __start_notes __attribute__((weak));
extern const char __stop_notes __attribute__((weak));
#define notes_size (&__stop_notes - &__start_notes)

static ssize_t notes_read(struct kobject *kobj, struct bin_attribute *bin_attr,
Expand Down

0 comments on commit 73a31d6

Please sign in to comment.