mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 09:45:07 +07:00
f11b7bd88f
These days, the NACA only exists on iSeries. Therefore, this patch moves naca.h from include/asm-ppc64 to arch/powerpc/platforms/iseries. There was one file including naca.h outside of platforms/iseries - arch/ppc64/kernel/udbg_scc.c. However, that's obviously a hangover from older days. The include is not necessary, so this patch simply removes it. Built and booted on iSeries, built for G5 (which uses udbg_scc.o). Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
25 lines
735 B
C
25 lines
735 B
C
#ifndef _PLATFORMS_ISERIES_NACA_H
|
|
#define _PLATFORMS_ISERIES_NACA_H
|
|
|
|
/*
|
|
* c 2001 PPC 64 Team, IBM Corp
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
|
|
#include <asm/types.h>
|
|
|
|
struct naca_struct {
|
|
/* Kernel only data - undefined for user space */
|
|
void *xItVpdAreas; /* VPD Data 0x00 */
|
|
void *xRamDisk; /* iSeries ramdisk 0x08 */
|
|
u64 xRamDiskSize; /* In pages 0x10 */
|
|
};
|
|
|
|
extern struct naca_struct naca;
|
|
|
|
#endif /* _PLATFORMS_ISERIES_NACA_H */
|