diff options
| author | Cédric Le Goater <[email protected]> | 2017-08-30 19:46:14 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-09-02 11:02:37 +0000 |
| commit | c58a14a9ccf0a79bbdafc106a95c080340c00f49 (patch) | |
| tree | ea7a0586ba84bdaea07fee2b2a3e62637f16d9c7 /arch/powerpc/sysdev/xive/native.c | |
| parent | powerpc/xive: introduce xive_esb_write() (diff) | |
| download | kernel-c58a14a9ccf0a79bbdafc106a95c080340c00f49.tar.gz kernel-c58a14a9ccf0a79bbdafc106a95c080340c00f49.zip | |
powerpc/xive: add the HW IRQ number under xive_irq_data
It will be required later by the H_INT_ESB hcall.
Signed-off-by: Cédric Le Goater <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/xive/native.c')
| -rw-r--r-- | arch/powerpc/sysdev/xive/native.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/xive/native.c b/arch/powerpc/sysdev/xive/native.c index ace3d7aedfb7..44f3a25ca630 100644 --- a/arch/powerpc/sysdev/xive/native.c +++ b/arch/powerpc/sysdev/xive/native.c @@ -82,6 +82,8 @@ int xive_native_populate_irq_data(u32 hw_irq, struct xive_irq_data *data) return -ENOMEM; } + data->hw_irq = hw_irq; + if (!data->trig_page) return 0; if (data->trig_page == data->eoi_page) { |
