git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-ppc64
/
machdep.h
diff --git
a/include/asm-ppc64/machdep.h
b/include/asm-ppc64/machdep.h
index
bb961a0
..
e3b8607
100644
(file)
--- a/
include/asm-ppc64/machdep.h
+++ b/
include/asm-ppc64/machdep.h
@@
-11,8
+11,11
@@
#include <linux/config.h>
#include <linux/seq_file.h>
#include <linux/config.h>
#include <linux/seq_file.h>
+#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <linux/dma-mapping.h>
+#include <asm/setup.h>
+
struct pt_regs;
struct pci_bus;
struct device_node;
struct pt_regs;
struct pci_bus;
struct device_node;
@@
-53,6
+56,9
@@
struct machdep_calls {
void (*flush_hash_range)(unsigned long context,
unsigned long number,
int local);
void (*flush_hash_range)(unsigned long context,
unsigned long number,
int local);
+ /* special for kexec, to be called in real mode, linar mapping is
+ * destroyed as well */
+ void (*hpte_clear_all)(void);
void (*tce_build)(struct iommu_table * tbl,
long index,
void (*tce_build)(struct iommu_table * tbl,
long index,
@@
-64,7
+70,9
@@
struct machdep_calls {
long npages);
void (*tce_flush)(struct iommu_table *tbl);
long npages);
void (*tce_flush)(struct iommu_table *tbl);
+ int (*probe)(int platform);
void (*setup_arch)(void);
void (*setup_arch)(void);
+ void (*init_early)(void);
/* Optional, may be NULL. */
void (*get_cpuinfo)(struct seq_file *m);
/* Optional, may be NULL. */
void (*get_cpuinfo)(struct seq_file *m);
@@
-74,9
+82,6
@@
struct machdep_calls {
/* PCI stuff */
void (*pcibios_fixup)(void);
/* PCI stuff */
void (*pcibios_fixup)(void);
- /* Optional, may be NULL. */
- void (*init)(void);
-
void (*restart)(char *cmd);
void (*power_off)(void);
void (*halt)(void);
void (*restart)(char *cmd);
void (*power_off)(void);
void (*halt)(void);
@@
-112,9
+117,7
@@
struct machdep_calls {
};
extern struct machdep_calls ppc_md;
};
extern struct machdep_calls ppc_md;
-#define COMMAND_LINE_SIZE 512
extern char cmd_line[COMMAND_LINE_SIZE];
extern char cmd_line[COMMAND_LINE_SIZE];
-extern char saved_command_line[COMMAND_LINE_SIZE];
/* Functions to produce codes on the leds.
* The SRC code should be unique for the message category and should
/* Functions to produce codes on the leds.
* The SRC code should be unique for the message category and should