Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62147
b: refs/heads/master
c: f6991b0
h: refs/heads/master
i:
  62145: e523c43
  62143: 38b0304
v: v3
  • Loading branch information
Paul Mundt committed Jul 20, 2007
1 parent 5a15b5e commit b41b43b
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 8 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: bd5f0d1c256fdf286fab358a04e87476e3535075
refs/heads/master: f6991b0456416186b578d38717efcda2b012b79c
2 changes: 1 addition & 1 deletion trunk/arch/sh/boards/mpc1211/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ char * __devinit pcibios_setup(char *str)
* are examined.
*/

void __devinit pcibios_fixup_bus(struct pci_bus *b)
void __init pcibios_fixup_bus(struct pci_bus *b)
{
pci_read_bridge_bases(b);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/drivers/pci/ops-sh4.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ static void __init pci_fixup_ide_bases(struct pci_dev *d)
}
DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_ide_bases);

char * __devinit pcibios_setup(char *str)
char * __init pcibios_setup(char *str)
{
if (!strcmp(str, "off")) {
pci_probe = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/drivers/pci/pci-st40.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ int __init st40pci_init(unsigned memStart, unsigned memSize)
return 1;
}

char * __devinit pcibios_setup(char *str)
char * __init pcibios_setup(char *str)
{
return str;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ subsys_initcall(pcibios_init);
* Called after each bus is probed, but before its children
* are examined.
*/
void __devinit pcibios_fixup_bus(struct pci_bus *bus)
void __init pcibios_fixup_bus(struct pci_bus *bus)
{
pci_read_bridge_bases(bus);
}
Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/sh/kernel/cpu/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,22 @@ void clk_recalc_rate(struct clk *clk)
}
EXPORT_SYMBOL_GPL(clk_recalc_rate);

long clk_round_rate(struct clk *clk, unsigned long rate)
{
if (likely(clk->ops && clk->ops->round_rate)) {
unsigned long flags, rounded;

spin_lock_irqsave(&clock_lock, flags);
rounded = clk->ops->round_rate(clk, rate);
spin_unlock_irqrestore(&clock_lock, flags);

return rounded;
}

return clk_get_rate(clk);
}
EXPORT_SYMBOL_GPL(clk_round_rate);

/*
* Returns a clock. Note that we first try to use device id on the bus
* and clock name. If this fails, we try to use clock name only.
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/syscalls.S
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,3 @@ ENTRY(sys_call_table)
.long sys_signalfd
.long sys_timerfd
.long sys_eventfd
.long sys_fallocate
1 change: 1 addition & 0 deletions trunk/include/asm-sh/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ struct clk_ops {
void (*disable)(struct clk *clk);
void (*recalc)(struct clk *clk);
int (*set_rate)(struct clk *clk, unsigned long rate, int algo_id);
long (*round_rate)(struct clk *clk, unsigned long rate);
};

struct clk {
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/asm-sh/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,8 @@
#define __NR_signalfd 321
#define __NR_timerfd 322
#define __NR_eventfd 323
#define __NR_fallocate 324

#define NR_syscalls 325
#define NR_syscalls 324

#ifdef __KERNEL__

Expand Down

0 comments on commit b41b43b

Please sign in to comment.