summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/unaligned.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-12-06 03:53:22 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2024-10-02 05:20:41 +0200
commit134d988208602ccae792e91475c05911c962798e (patch)
tree9ff9c798892b5ce94ec84eff1811edc3f7c34e4e /arch/parisc/kernel/unaligned.h
parentLinux 6.12-rc1 (diff)
downloadlinux-134d988208602ccae792e91475c05911c962798e.tar.xz
linux-134d988208602ccae792e91475c05911c962798e.zip
parisc: get rid of private asm/unaligned.h
Declarations local to arch/*/kernel/*.c are better off *not* in a public header - arch/parisc/kernel/unaligned.h is just fine for those bits. With that done parisc asm/unaligned.h is reduced to include of asm-generic/unaligned.h and can be removed - unaligned.h is in mandatory-y in include/asm-generic/Kbuild. Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/unaligned.h')
-rw-r--r--arch/parisc/kernel/unaligned.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/unaligned.h b/arch/parisc/kernel/unaligned.h
new file mode 100644
index 000000000000..c1aa4b12e284
--- /dev/null
+++ b/arch/parisc/kernel/unaligned.h
@@ -0,0 +1,3 @@
+struct pt_regs;
+void handle_unaligned(struct pt_regs *regs);
+int check_unaligned(struct pt_regs *regs);