diff options
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/pcic.c | 4 | ||||
-rw-r--r-- | arch/sparc/kernel/sys_sunos.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index 3fa5f95c4614..1c927c538b8b 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -601,7 +601,7 @@ pcic_fill_irq(struct linux_pcic *pcic, struct pci_dev *dev, int node) | |||
601 | /* | 601 | /* |
602 | * Normally called from {do_}pci_scan_bus... | 602 | * Normally called from {do_}pci_scan_bus... |
603 | */ | 603 | */ |
604 | void __init pcibios_fixup_bus(struct pci_bus *bus) | 604 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) |
605 | { | 605 | { |
606 | struct pci_dev *dev; | 606 | struct pci_dev *dev; |
607 | int i, has_io, has_mem; | 607 | int i, has_io, has_mem; |
@@ -842,7 +842,7 @@ static void watchdog_reset() { | |||
842 | /* | 842 | /* |
843 | * Other archs parse arguments here. | 843 | * Other archs parse arguments here. |
844 | */ | 844 | */ |
845 | char * __init pcibios_setup(char *str) | 845 | char * __devinit pcibios_setup(char *str) |
846 | { | 846 | { |
847 | return str; | 847 | return str; |
848 | } | 848 | } |
diff --git a/arch/sparc/kernel/sys_sunos.c b/arch/sparc/kernel/sys_sunos.c index da6606f0cffc..f807172cab0e 100644 --- a/arch/sparc/kernel/sys_sunos.c +++ b/arch/sparc/kernel/sys_sunos.c | |||
@@ -910,7 +910,7 @@ asmlinkage long sunos_sysconf (int name) | |||
910 | ret = ARG_MAX; | 910 | ret = ARG_MAX; |
911 | break; | 911 | break; |
912 | case _SC_CHILD_MAX: | 912 | case _SC_CHILD_MAX: |
913 | ret = -1; /* no limit */ | 913 | ret = current->signal->rlim[RLIMIT_NPROC].rlim_cur; |
914 | break; | 914 | break; |
915 | case _SC_CLK_TCK: | 915 | case _SC_CLK_TCK: |
916 | ret = HZ; | 916 | ret = HZ; |
@@ -919,7 +919,7 @@ asmlinkage long sunos_sysconf (int name) | |||
919 | ret = NGROUPS_MAX; | 919 | ret = NGROUPS_MAX; |
920 | break; | 920 | break; |
921 | case _SC_OPEN_MAX: | 921 | case _SC_OPEN_MAX: |
922 | ret = OPEN_MAX; | 922 | ret = current->signal->rlim[RLIMIT_NOFILE].rlim_cur; |
923 | break; | 923 | break; |
924 | case _SC_JOB_CONTROL: | 924 | case _SC_JOB_CONTROL: |
925 | ret = 1; /* yes, we do support job control */ | 925 | ret = 1; /* yes, we do support job control */ |