Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with Linus #24

Merged
merged 100 commits into from
Jan 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
574732c
param: initialize store function to NULL if not available.
rustyrussell Dec 23, 2014
6ee0ad2
drm/amdkfd: Drop interrupt SW ring buffer
Jan 8, 2015
cbfc35b
drm/radeon: fix VM flush on cayman/aruba (v3)
alexdeucher Jan 6, 2015
d474ea7
drm/radeon: fix VM flush on SI (v3)
alexdeucher Jan 6, 2015
3a01fd3
drm/radeon: fix VM flush on CIK (v3)
alexdeucher Jan 6, 2015
8dfe58b
drm/amdkfd: Fix sparse warning (different address space)
Jan 8, 2015
4369a69
drm/radeon: add a dpm quirk list
alexdeucher Jan 8, 2015
d40f74f
drm/exynos: remove the redundant machine checking code
Jan 9, 2015
63a3451
drm/i915: gen9: fix RPS interrupt routing to CPU vs. GT
ideak Dec 19, 2014
59d02a1
drm/i915: fix HW lockup due to missing RPS IRQ workaround on GEN6
ideak Dec 19, 2014
f24eeb1
drm/i915: vlv: sanitize RPS interrupt mask during GPU idling
ideak Dec 19, 2014
48bf5b2
drm/i915: Ban Haswell from using RCS flips
ickle Dec 27, 2014
226e5ae
drm/i915: Fix mutex->owner inspection race under DEBUG_MUTEXES
ickle Jan 2, 2015
a18f364
ARM: 8266/1: Remove early stack deallocation from restore_user_regs
daniel-thompson Jan 9, 2015
2d9ed74
ARM: 8255/1: perf: Prevent wraparound during overflow
daniel-thompson Jan 5, 2015
ad1a622
drm/radeon: don't print error on -ERESTARTSYS
ChristianKoenigAMD Jan 9, 2015
5615f89
drm/radeon: add si dpm quirk list
alexdeucher Jan 12, 2015
7d1f901
MAINTAINERS: drop DT regex matching on of_get_property and of_match_t…
robherring Dec 26, 2014
a7fefe9
MAINTAINERS: Update DT website and git repository
robherring Dec 26, 2014
7c2461b
dt/bindings: arm-boards: Spelling s/pointong/pointing/
geertu Dec 10, 2014
d6613aa
ARM: dt: GIC: Spelling s/specific/specifier/, s/flaggs/flags/
geertu Dec 10, 2014
7c7a9b3
of: replace Asahi Kasei Corp vendor prefix
morimoto Dec 25, 2014
3772160
dma-mapping: fix debug print to display correct dma_pfn_offset
Dec 22, 2014
9d45e88
Documentation: of: fix typo in graph bindings
Jan 5, 2015
53275a6
devicetree: document ARM bindings for QEMU's Firmware Config interface
lersek Jan 7, 2015
957c811
devicetree: document the "qemu" and "virtio" vendor prefixes
lersek Jan 7, 2015
5a80244
s390/bpf: Fix JMP_JGE_K (A >= K) and JMP_JGT_K (A > K)
Jan 14, 2015
db9aa8f
s390/bpf: Fix skb_copy_bits() parameter passing
Jan 15, 2015
d86eb74
s390/bpf: Fix offset parameter for skb_copy_bits()
Jan 15, 2015
1a92b2d
s390/bpf: Fix sk_load_byte_msh()
Jan 15, 2015
fe82bba
s390/bpf: Zero extend parameters before calling C function
Jan 15, 2015
d8a74e1
drm/radeon: use rv515_ring_start on r5xx
alexdeucher Jan 15, 2015
f331a85
PCI: Add flag for devices where we can't use bus reset
awilliam Jan 16, 2015
c3e59ee
PCI: Mark Atheros AR93xx to avoid bus reset
awilliam Jan 16, 2015
3f2f4dc
PCI: Pass bridge device, not bus, when updating bridge windows
Jan 15, 2015
0f7e7ae
PCI: Add pci_bus_clip_resource() to clip to fit upstream window
Jan 15, 2015
8505e72
PCI: Add pci_claim_bridge_resource() to clip window if necessary
Jan 15, 2015
851b093
x86/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
b3e1182
alpha/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
b0c568d
frv/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
ce821ef
ia64/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
576e438
microblaze/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
4e348ba
mn10300/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
2e5e804
parisc/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
3ebfe46
powerpc/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
d63e2e1
sparc/PCI: Clip bridge windows to fit in upstream windows
Jan 15, 2015
5c697e5
ALSA: firewire-lib: remove rx_blocks_for_midi quirk
cladisch Nov 25, 2014
25ca917
ALSA: firewire-lib: limit the MIDI data rate
cladisch Nov 25, 2014
265134a
drm/exynos: fix reset codes for memory mapped hdmi phy
Jan 12, 2015
bd50866
drm/exynos: remove unnecessary runtime pm operations
Jan 18, 2015
7c4c558
drm/exynos: fix warning of vblank reference count
Jan 18, 2015
6455931
ALSA: usb-audio: Add mic volume fix quirk for Logitech Webcam C210
jcragg Jan 17, 2015
cdef511
KVM: fix sparse warning in include/trace/events/kvm.h
borntraeger Jan 15, 2015
1caf6aa
scripts/recordmcount.pl: There is no -m32 gcc option on Super-H anymore
Jan 17, 2015
98bd5c5
btrfs: sync ioctl, handle errors after transaction start
kdave Jan 19, 2015
379d685
Btrfs: fix incorrect freeing in scrub_stripe
Jan 9, 2015
75c68e9
Btrfs: fix race deleting block group from space_info->ro_bgs list
fdmanana Jan 16, 2015
6e1103a
btrfs: fix state->private cast on 32 bit machines
Dec 25, 2014
c772be5
param: fix uninitialized read with CONFIG_DEBUG_LOCK_ALLOC
rustyrussell Jan 19, 2015
d453cde
module_arch_freeing_init(): new hook for archs before module->module_…
rustyrussell Jan 19, 2015
be1f221
module: remove mod arg from module_free, rename module_memfree().
rustyrussell Jan 19, 2015
c749637
module: fix race in kallsyms resolution during module load success.
rustyrussell Jan 19, 2015
c7c52e4
arm64: Add dtb files to archclean rule
jungseoklee Jan 19, 2015
b3f6c73
mfd: da9052-core: Fix platform-device id collision
Dec 10, 2014
773328d
mfd: tps65218: Make INT[12] and STATUS registers volatile
Dec 26, 2014
f29ae36
mfd: tps65218: Make INT1 our status_base register
Dec 26, 2014
b166010
mfd: rtsx_usb: Fix runtime PM deadlock
roger-tttseng Jan 15, 2015
b46ce98
Merge branch 'drm-fixes-3.19' of git://people.freedesktop.org/~agd5f/…
airlied Jan 20, 2015
e902027
Merge branch 'exynos-drm-fixes' of git://git.kernel.org/pub/scm/linux…
airlied Jan 20, 2015
9aa609e
drm: fb helper should avoid sleeping in panic context
ruiwang1 Dec 15, 2014
9e4fc22
Merge tag 'drm-intel-fixes-2015-01-15' of git://anongit.freedesktop.o…
airlied Jan 20, 2015
67cf2d3
Merge tag 'drm-amdkfd-fixes-2015-01-13' of git://people.freedesktop.o…
airlied Jan 20, 2015
6c9fe14
btrfs: Fix the bug that fs_info->pending_changes is never cleared.
Jan 20, 2015
a53f4f8
btrfs: Don't call btrfs_start_transaction() on frozen fs to avoid dea…
Jan 19, 2015
7c4bb81
Merge tag 'mfd-fixes-3.19' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Jan 21, 2015
479459a
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
torvalds Jan 21, 2015
5eb11d6
Merge tag 'sound-3.19-rc6' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Jan 21, 2015
909ba29
ARM: 8292/1: mm: fix size rounding-down of arm_add_memory() function
masahir0y Jan 20, 2015
b942c65
Merge tag 'trace-sh-3.19' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Jan 21, 2015
d5db139
module: make module_refcount() a signed integer.
rustyrussell Jan 22, 2015
d24c816
nios2: fix kuser trampoline address
Jan 22, 2015
3e7f762
of/overlay: Do not generate duplicate nodes
pantoniou Dec 16, 2014
15204ab
of/platform: Handle of_populate drivers in notifier
pantoniou Dec 16, 2014
1939341
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jan 22, 2015
fcb2373
Merge tag 'nios2-fixes-v3.19-rc6' of git://git.rocketboards.org/linux…
torvalds Jan 22, 2015
f8de05c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jan 22, 2015
f175aa2
MAINTAINERS: Update Richard Zhu's email address
lynxeye-dev Jan 19, 2015
284be28
arm64: dump: Fix implicit inclusion of definition for PCI_IOBASE
broonie Jan 22, 2015
63ea0a4
KVM: x86: Fix of previously incomplete fix for CVE-2014-8480
anadav Jan 8, 2015
f374737
KVM: x86: SYSENTER emulation is broken
anadav Jan 1, 2015
6b1271d
of/unittest: Overlays with sub-devices tests
pantoniou Dec 19, 2014
dc58376
Revert "Documentation: Add entry for dell-laptop sysfs interface"
dvhart Jan 21, 2015
b78695a
Revert "platform: x86: dell-laptop: Add support for keyboard backlight"
dvhart Jan 21, 2015
222713b
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jan 23, 2015
0ad4989
Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
torvalds Jan 23, 2015
2e3810d
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Jan 23, 2015
b8de08d
Merge tag 'devicetree-for-linus' of git://git.kernel.org/pub/scm/linu…
torvalds Jan 23, 2015
5506959
Merge tag 'pci-v3.19-fixes-1' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 23, 2015
53448a5
Merge tag 'platform-drivers-x86-v3.19-2' of git://git.infradead.org/u…
torvalds Jan 23, 2015
c4e00f1
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jan 24, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions Documentation/ABI/testing/sysfs-platform-dell-laptop

This file was deleted.

2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/arm/arm-boards
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Required nodes:
range of 0x200 bytes.

- syscon: the root node of the Integrator platforms must have a
system controller node pointong to the control registers,
system controller node pointing to the control registers,
with the compatible string
"arm,integrator-ap-syscon"
"arm,integrator-cp-syscon"
Expand Down
72 changes: 72 additions & 0 deletions Documentation/devicetree/bindings/arm/fw-cfg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
* QEMU Firmware Configuration bindings for ARM

QEMU's arm-softmmu and aarch64-softmmu emulation / virtualization targets
provide the following Firmware Configuration interface on the "virt" machine
type:

- A write-only, 16-bit wide selector (or control) register,
- a read-write, 64-bit wide data register.

QEMU exposes the control and data register to ARM guests as memory mapped
registers; their location is communicated to the guest's UEFI firmware in the
DTB that QEMU places at the bottom of the guest's DRAM.

The guest writes a selector value (a key) to the selector register, and then
can read the corresponding data (produced by QEMU) via the data register. If
the selected entry is writable, the guest can rewrite it through the data
register.

The selector register takes keys in big endian byte order.

The data register allows accesses with 8, 16, 32 and 64-bit width (only at
offset 0 of the register). Accesses larger than a byte are interpreted as
arrays, bundled together only for better performance. The bytes constituting
such a word, in increasing address order, correspond to the bytes that would
have been transferred by byte-wide accesses in chronological order.

The interface allows guest firmware to download various parameters and blobs
that affect how the firmware works and what tables it installs for the guest
OS. For example, boot order of devices, ACPI tables, SMBIOS tables, kernel and
initrd images for direct kernel booting, virtual machine UUID, SMP information,
virtual NUMA topology, and so on.

The authoritative registry of the valid selector values and their meanings is
the QEMU source code; the structure of the data blobs corresponding to the
individual key values is also defined in the QEMU source code.

The presence of the registers can be verified by selecting the "signature" blob
with key 0x0000, and reading four bytes from the data register. The returned
signature is "QEMU".

The outermost protocol (involving the write / read sequences of the control and
data registers) is expected to be versioned, and/or described by feature bits.
The interface revision / feature bitmap can be retrieved with key 0x0001. The
blob to be read from the data register has size 4, and it is to be interpreted
as a uint32_t value in little endian byte order. The current value
(corresponding to the above outer protocol) is zero.

The guest kernel is not expected to use these registers (although it is
certainly allowed to); the device tree bindings are documented here because
this is where device tree bindings reside in general.

Required properties:

- compatible: "qemu,fw-cfg-mmio".

- reg: the MMIO region used by the device.
* Bytes 0x0 to 0x7 cover the data register.
* Bytes 0x8 to 0x9 cover the selector register.
* Further registers may be appended to the region in case of future interface
revisions / feature bits.

Example:

/ {
#size-cells = <0x2>;
#address-cells = <0x2>;

fw-cfg@9020000 {
compatible = "qemu,fw-cfg-mmio";
reg = <0x0 0x9020000 0x0 0xa>;
};
};
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/graph.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type of the connections, they just map their existence. Specific properties
may be described by specialized bindings depending on the type of connection.

To see how this binding applies to video pipelines, for example, see
Documentation/device-tree/bindings/media/video-interfaces.txt.
Documentation/devicetree/bindings/media/video-interfaces.txt.
Here the ports describe data interfaces, and the links between them are
the connecting data buses. A single port with multiple connections can
correspond to multiple devices being connected to the same physical bus.
Expand Down
4 changes: 3 additions & 1 deletion Documentation/devicetree/bindings/vendor-prefixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ad Avionic Design GmbH
adapteva Adapteva, Inc.
adi Analog Devices, Inc.
aeroflexgaisler Aeroflex Gaisler AB
ak Asahi Kasei Corp.
allwinner Allwinner Technology Co., Ltd.
altr Altera Corp.
amcc Applied Micro Circuits Corporation (APM, formally AMCC)
Expand All @@ -20,6 +19,7 @@ amstaos AMS-Taos Inc.
apm Applied Micro Circuits Corporation (APM)
arm ARM Ltd.
armadeus ARMadeus Systems SARL
asahi-kasei Asahi Kasei Corp.
atmel Atmel Corporation
auo AU Optronics Corporation
avago Avago Technologies
Expand Down Expand Up @@ -127,6 +127,7 @@ pixcir PIXCIR MICROELECTRONICS Co., Ltd
powervr PowerVR (deprecated, use img)
qca Qualcomm Atheros, Inc.
qcom Qualcomm Technologies, Inc
qemu QEMU, a generic and open source machine emulator and virtualizer
qnap QNAP Systems, Inc.
radxa Radxa
raidsonic RaidSonic Technology GmbH
Expand Down Expand Up @@ -168,6 +169,7 @@ usi Universal Scientific Industrial Co., Ltd.
v3 V3 Semiconductor
variscite Variscite Ltd.
via VIA Technologies, Inc.
virtio Virtual I/O Device Specification, developed by the OASIS consortium
voipac Voipac Technologies s.r.o.
winbond Winbond Electronics corp.
wlf Wolfson Microelectronics
Expand Down
10 changes: 4 additions & 6 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ L: alsa-devel@alsa-project.org (moderated for non-subscribers)
W: http://blackfin.uclinux.org/
S: Supported
F: sound/soc/blackfin/*

ANALOG DEVICES INC IIO DRIVERS
M: Lars-Peter Clausen <lars@metafoo.de>
M: Michael Hennerich <Michael.Hennerich@analog.com>
Expand Down Expand Up @@ -7024,14 +7024,12 @@ OPEN FIRMWARE AND FLATTENED DEVICE TREE
M: Grant Likely <grant.likely@linaro.org>
M: Rob Herring <robh+dt@kernel.org>
L: devicetree@vger.kernel.org
W: http://fdt.secretlab.ca
T: git git://git.secretlab.ca/git/linux-2.6.git
W: http://www.devicetree.org/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux.git
S: Maintained
F: drivers/of/
F: include/linux/of*.h
F: scripts/dtc/
K: of_get_property
K: of_match_table

OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS
M: Rob Herring <robh+dt@kernel.org>
Expand Down Expand Up @@ -7276,7 +7274,7 @@ S: Maintained
F: drivers/pci/host/*layerscape*

PCI DRIVER FOR IMX6
M: Richard Zhu <r65037@freescale.com>
M: Richard Zhu <Richard.Zhu@freescale.com>
M: Lucas Stach <l.stach@pengutronix.de>
L: linux-pci@vger.kernel.org
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
Expand Down
8 changes: 6 additions & 2 deletions arch/alpha/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,12 @@ pcibios_claim_one_bus(struct pci_bus *b)
if (r->parent || !r->start || !r->flags)
continue;
if (pci_has_flag(PCI_PROBE_ONLY) ||
(r->flags & IORESOURCE_PCI_FIXED))
pci_claim_resource(dev, i);
(r->flags & IORESOURCE_PCI_FIXED)) {
if (pci_claim_resource(dev, i) == 0)
continue;

pci_claim_bridge_resource(dev, i);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/tegra20-seaboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@
clock-frequency = <400000>;

magnetometer@c {
compatible = "ak,ak8975";
compatible = "asahi-kasei,ak8975";
reg = <0xc>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
Expand Down
13 changes: 7 additions & 6 deletions arch/arm/kernel/entry-header.S
Original file line number Diff line number Diff line change
Expand Up @@ -253,21 +253,22 @@
.endm

.macro restore_user_regs, fast = 0, offset = 0
ldr r1, [sp, #\offset + S_PSR] @ get calling cpsr
ldr lr, [sp, #\offset + S_PC]! @ get pc
mov r2, sp
ldr r1, [r2, #\offset + S_PSR] @ get calling cpsr
ldr lr, [r2, #\offset + S_PC]! @ get pc
msr spsr_cxsf, r1 @ save in spsr_svc
#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_32v6K)
@ We must avoid clrex due to Cortex-A15 erratum #830321
strex r1, r2, [sp] @ clear the exclusive monitor
strex r1, r2, [r2] @ clear the exclusive monitor
#endif
.if \fast
ldmdb sp, {r1 - lr}^ @ get calling r1 - lr
ldmdb r2, {r1 - lr}^ @ get calling r1 - lr
.else
ldmdb sp, {r0 - lr}^ @ get calling r0 - lr
ldmdb r2, {r0 - lr}^ @ get calling r0 - lr
.endif
mov r0, r0 @ ARMv5T and earlier require a nop
@ after ldm {}^
add sp, sp, #S_FRAME_SIZE - S_PC
add sp, sp, #\offset + S_FRAME_SIZE
movs pc, lr @ return & move spsr_svc into cpsr
.endm

Expand Down
10 changes: 8 additions & 2 deletions arch/arm/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,14 @@ int armpmu_event_set_period(struct perf_event *event)
ret = 1;
}

if (left > (s64)armpmu->max_period)
left = armpmu->max_period;
/*
* Limit the maximum period to prevent the counter value
* from overtaking the one we are about to program. In
* effect we are reducing max_period to account for
* interrupt latency (and we are being very conservative).
*/
if (left > (armpmu->max_period >> 1))
left = armpmu->max_period >> 1;

local64_set(&hwc->prev_count, (u64)-left);

Expand Down
7 changes: 5 additions & 2 deletions arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,13 @@ int __init arm_add_memory(u64 start, u64 size)

/*
* Ensure that start/size are aligned to a page boundary.
* Size is appropriately rounded down, start is rounded up.
* Size is rounded down, start is rounded up.
*/
size -= start & ~PAGE_MASK;
aligned_start = PAGE_ALIGN(start);
if (aligned_start > start + size)
size = 0;
else
size -= aligned_start - start;

#ifndef CONFIG_ARCH_PHYS_ADDR_T_64BIT
if (aligned_start > ULONG_MAX) {
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ vdso_install:
# We use MRPROPER_FILES and CLEAN_FILES now
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
$(Q)$(MAKE) $(clean)=$(boot)/dts

define archhelp
echo '* Image.gz - Compressed kernel image (arch/$(ARCH)/boot/Image.gz)'
Expand Down
2 changes: 0 additions & 2 deletions arch/arm64/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ dts-dirs += apm
dts-dirs += arm
dts-dirs += cavium

always := $(dtb-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb
1 change: 1 addition & 0 deletions arch/arm64/mm/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
#include <linux/debugfs.h>
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
Expand Down
13 changes: 1 addition & 12 deletions arch/avr32/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@
#include <linux/moduleloader.h>
#include <linux/vmalloc.h>

void module_free(struct module *mod, void *module_region)
void module_arch_freeing_init(struct module *mod)
{
vfree(mod->arch.syminfo);
mod->arch.syminfo = NULL;

vfree(module_region);
}

static inline int check_rela(Elf32_Rela *rela, struct module *module,
Expand Down Expand Up @@ -291,12 +289,3 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab,

return ret;
}

int module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs,
struct module *module)
{
vfree(module->arch.syminfo);
module->arch.syminfo = NULL;

return 0;
}
2 changes: 1 addition & 1 deletion arch/cris/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void *module_alloc(unsigned long size)
}

/* Free memory returned from module_alloc */
void module_free(struct module *mod, void *module_region)
void module_memfree(void *module_region)
{
kfree(module_region);
}
Expand Down
2 changes: 1 addition & 1 deletion arch/frv/mb93090-mb00/pci-frv.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static void __init pcibios_allocate_bus_resources(struct list_head *bus_list)
r = &dev->resource[idx];
if (!r->start)
continue;
pci_claim_resource(dev, idx);
pci_claim_bridge_resource(dev, idx);
}
}
pcibios_allocate_bus_resources(&bus->children);
Expand Down
6 changes: 2 additions & 4 deletions arch/ia64/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,12 @@ plt_target (struct plt_entry *plt)
#endif /* !USE_BRL */

void
module_free (struct module *mod, void *module_region)
module_arch_freeing_init (struct module *mod)
{
if (mod && mod->arch.init_unw_table &&
module_region == mod->module_init) {
if (mod->arch.init_unw_table) {
unw_remove_unwind_table(mod->arch.init_unw_table);
mod->arch.init_unw_table = NULL;
}
vfree(module_region);
}

/* Have we already seen one of these relocations? */
Expand Down
Loading