Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332199
b: refs/heads/master
c: c37d615
h: refs/heads/master
i:
  332197: 6b8ab92
  332195: 7e572df
  332191: 97b6192
v: v3
  • Loading branch information
Arnd Bergmann committed Oct 4, 2012
1 parent 0848bf3 commit 1e757df
Show file tree
Hide file tree
Showing 25 changed files with 67 additions and 4 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: 8a1ab3155c2ac7fbe5f2038d6e26efeb607a1498
refs/heads/master: c37d6154c0b9163c27e53cc1d0be3867b4abd760
2 changes: 2 additions & 0 deletions trunk/arch/alpha/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include include/asm-generic/Kbuild.asm

generic-y += clkdev.h

header-y += compiler.h
header-y += console.h
header-y += fpu.h
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/avr32/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include include/asm-generic/Kbuild.asm

generic-y += clkdev.h

header-y += cachectl.h
2 changes: 2 additions & 0 deletions trunk/arch/cris/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ header-y += ethernet.h
header-y += etraxgpio.h
header-y += rs485.h
header-y += sync_serial.h

generic-y += clkdev.h
1 change: 1 addition & 0 deletions trunk/arch/frv/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ include include/asm-generic/Kbuild.asm

header-y += registers.h
header-y += termios.h
generic-y += clkdev.h
2 changes: 2 additions & 0 deletions trunk/arch/h8300/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include include/asm-generic/Kbuild.asm

generic-y += clkdev.h
1 change: 1 addition & 0 deletions trunk/arch/hexagon/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ header-y += user.h
generic-y += auxvec.h
generic-y += bug.h
generic-y += bugs.h
generic-y += clkdev.h
generic-y += cputime.h
generic-y += current.h
generic-y += device.h
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ia64/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ header-y += ptrace_offsets.h
header-y += rse.h
header-y += ucontext.h
header-y += ustack.h
generic-y += clkdev.h
2 changes: 2 additions & 0 deletions trunk/arch/m32r/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include include/asm-generic/Kbuild.asm

generic-y += clkdev.h
1 change: 1 addition & 0 deletions trunk/arch/m68k/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include include/asm-generic/Kbuild.asm
header-y += cachectl.h

generic-y += bitsperlong.h
generic-y += clkdev.h
generic-y += cputime.h
generic-y += device.h
generic-y += emergency-restart.h
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/microblaze/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include include/asm-generic/Kbuild.asm

header-y += elf.h
generic-y += clkdev.h
2 changes: 2 additions & 0 deletions trunk/arch/mn10300/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include include/asm-generic/Kbuild.asm

generic-y += clkdev.h
1 change: 1 addition & 0 deletions trunk/arch/openrisc/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ generic-y += bug.h
generic-y += bugs.h
generic-y += cacheflush.h
generic-y += checksum.h
generic-y += clkdev.h
generic-y += cmpxchg.h
generic-y += cmpxchg-local.h
generic-y += cputime.h
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/parisc/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include include/asm-generic/Kbuild.asm

header-y += pdc.h
generic-y += clkdev.h
generic-y += word-at-a-time.h
1 change: 1 addition & 0 deletions trunk/arch/powerpc/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ header-y += types.h
header-y += ucontext.h
header-y += unistd.h

generic-y += clkdev.h
generic-y += rwsem.h
2 changes: 2 additions & 0 deletions trunk/arch/s390/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ header-y += tape390.h
header-y += ucontext.h
header-y += vtoc.h
header-y += zcrypt.h

generic-y += clkdev.h
2 changes: 2 additions & 0 deletions trunk/arch/score/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include include/asm-generic/Kbuild.asm

header-y +=

generic-y += clkdev.h
1 change: 1 addition & 0 deletions trunk/arch/sparc/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ header-y += uctx.h
header-y += utrap.h
header-y += watchdog.h

generic-y += clkdev.h
generic-y += div64.h
generic-y += local64.h
generic-y += irq_regs.h
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ header-y += hardwall.h

generic-y += bug.h
generic-y += bugs.h
generic-y += clkdev.h
generic-y += cputime.h
generic-y += div64.h
generic-y += emergency-restart.h
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/um/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
generic-y += bug.h cputime.h device.h emergency-restart.h futex.h hardirq.h
generic-y += hw_irq.h irq_regs.h kdebug.h percpu.h sections.h topology.h xor.h
generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h
generic-y += switch_to.h
generic-y += switch_to.h clkdev.h
1 change: 1 addition & 0 deletions trunk/arch/unicore32/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ generic-y += atomic.h
generic-y += auxvec.h
generic-y += bitsperlong.h
generic-y += bugs.h
generic-y += clkdev.h
generic-y += cputime.h
generic-y += current.h
generic-y += device.h
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/x86/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ header-y += sigcontext32.h
header-y += ucontext.h
header-y += vm86.h
header-y += vsyscall.h

genhdr-y += unistd_32.h
genhdr-y += unistd_64.h
genhdr-y += unistd_x32.h

generic-y += clkdev.h
2 changes: 2 additions & 0 deletions trunk/arch/xtensa/include/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
include include/asm-generic/Kbuild.asm

generic-y += clkdev.h
28 changes: 28 additions & 0 deletions trunk/include/asm-generic/clkdev.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* include/asm-generic/clkdev.h
*
* Based on the ARM clkdev.h:
* Copyright (C) 2008 Russell King.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Helper for the clk API to assist looking up a struct clk.
*/
#ifndef __ASM_CLKDEV_H
#define __ASM_CLKDEV_H

#include <linux/slab.h>

struct clk;

static inline int __clk_get(struct clk *clk) { return 1; }
static inline void __clk_put(struct clk *clk) { }

static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
{
return kzalloc(size, GFP_KERNEL);
}

#endif
4 changes: 2 additions & 2 deletions trunk/include/asm-generic/xor.h
Original file line number Diff line number Diff line change
Expand Up @@ -693,15 +693,15 @@ static struct xor_block_template xor_block_32regs = {
.do_5 = xor_32regs_5,
};

static struct xor_block_template xor_block_8regs_p = {
static struct xor_block_template xor_block_8regs_p __maybe_unused = {
.name = "8regs_prefetch",
.do_2 = xor_8regs_p_2,
.do_3 = xor_8regs_p_3,
.do_4 = xor_8regs_p_4,
.do_5 = xor_8regs_p_5,
};

static struct xor_block_template xor_block_32regs_p = {
static struct xor_block_template xor_block_32regs_p __maybe_unused = {
.name = "32regs_prefetch",
.do_2 = xor_32regs_p_2,
.do_3 = xor_32regs_p_3,
Expand Down

0 comments on commit 1e757df

Please sign in to comment.