PCI Hotplug: Fix small mem leak in IBM Hot Plug Controller Driver
[linux-2.6/s3c2410-cpufreq.git] / include / asm-sparc64 / a.out-core.h
blob3499b3c425ca8b8effedf70b7c1def78e14100c6
1 /* a.out coredump register dumper
3 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
12 #ifndef _ASM_A_OUT_CORE_H
13 #define _ASM_A_OUT_CORE_H
15 #ifdef __KERNEL__
17 #include <linux/user.h>
20 * fill in the user structure for an a.out core dump
22 static inline void aout_dump_thread(struct pt_regs *regs, struct user *dump)
24 /* Only should be used for SunOS and ancient a.out
25 * SparcLinux binaries... Not worth implementing.
27 memset(dump, 0, sizeof(struct user));
30 #endif /* __KERNEL__ */
31 #endif /* _ASM_A_OUT_CORE_H */