Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6c43385 authored by Steve French's avatar Steve French
Browse files

Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6

parents 65bc98b0 35b5c55f
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -207,8 +207,8 @@ Attributes
~~~~~~~~~~
~~~~~~~~~~
struct driver_attribute {
struct driver_attribute {
        struct attribute        attr;
        struct attribute        attr;
        ssize_t (*show)(struct device_driver *, char * buf, size_t count, loff_t off);
        ssize_t (*show)(struct device_driver *driver, char *buf);
        ssize_t (*store)(struct device_driver *, const char * buf, size_t count, loff_t off);
        ssize_t (*store)(struct device_driver *, const char * buf, size_t count);
};
};


Device drivers can export attributes via their sysfs directories. 
Device drivers can export attributes via their sysfs directories. 
+2 −2
Original line number Original line Diff line number Diff line
@@ -1720,8 +1720,8 @@ and is between 256 and 4096 characters. It is defined in the file
	oprofile.cpu_type=	Force an oprofile cpu type
	oprofile.cpu_type=	Force an oprofile cpu type
			This might be useful if you have an older oprofile
			This might be useful if you have an older oprofile
			userland or if you want common events.
			userland or if you want common events.
			Format: { archperfmon }
			Format: { arch_perfmon }
			archperfmon: [X86] Force use of architectural
			arch_perfmon: [X86] Force use of architectural
				perfmon on Intel CPUs instead of the
				perfmon on Intel CPUs instead of the
				CPU specific event set.
				CPU specific event set.


+2 −0
Original line number Original line Diff line number Diff line
@@ -2,3 +2,5 @@
	- this file
	- this file
mtrr.txt
mtrr.txt
	- how to use x86 Memory Type Range Registers to increase performance
	- how to use x86 Memory Type Range Registers to increase performance
exception-tables.txt
	- why and how Linux kernel uses exception tables on x86
+101 −101
Original line number Original line Diff line number Diff line
     Kernel level exception handling in Linux 2.1.8
     Kernel level exception handling in Linux
  Commentary by Joerg Pommnitz <joerg@raleigh.ibm.com>
  Commentary by Joerg Pommnitz <joerg@raleigh.ibm.com>


When a process runs in kernel mode, it often has to access user
When a process runs in kernel mode, it often has to access user
@@ -29,8 +29,8 @@ page fault handler


void do_page_fault(struct pt_regs *regs, unsigned long error_code)
void do_page_fault(struct pt_regs *regs, unsigned long error_code)


in arch/i386/mm/fault.c. The parameters on the stack are set up by 
in arch/x86/mm/fault.c. The parameters on the stack are set up by
the low level assembly glue in arch/i386/kernel/entry.S. The parameter
the low level assembly glue in arch/x86/kernel/entry_32.S. The parameter
regs is a pointer to the saved registers on the stack, error_code
regs is a pointer to the saved registers on the stack, error_code
contains a reason code for the exception.
contains a reason code for the exception.


@@ -52,12 +52,12 @@ Where does fixup point to?


Since we jump to the contents of fixup, fixup obviously points
Since we jump to the contents of fixup, fixup obviously points
to executable code. This code is hidden inside the user access macros.
to executable code. This code is hidden inside the user access macros.
I have picked the get_user macro defined in include/asm/uaccess.h as an
I have picked the get_user macro defined in arch/x86/include/asm/uaccess.h
example. The definition is somewhat hard to follow, so let's peek at 
as an example. The definition is somewhat hard to follow, so let's peek at
the code generated by the preprocessor and the compiler. I selected
the code generated by the preprocessor and the compiler. I selected
the get_user call in drivers/char/console.c for a detailed examination.
the get_user call in drivers/char/sysrq.c for a detailed examination.


The original code in console.c line 1405:
The original code in sysrq.c line 587:
        get_user(c, buf);
        get_user(c, buf);


The preprocessor output (edited to become somewhat readable):
The preprocessor output (edited to become somewhat readable):
+7 −4
Original line number Original line Diff line number Diff line
@@ -3287,11 +3287,11 @@ F: include/linux/ivtv*


JFS FILESYSTEM
JFS FILESYSTEM
P:	Dave Kleikamp
P:	Dave Kleikamp
M:	shaggy@austin.ibm.com
M:	shaggy@linux.vnet.ibm.com
L:	jfs-discussion@lists.sourceforge.net
L:	jfs-discussion@lists.sourceforge.net
W:	http://jfs.sourceforge.net/
W:	http://jfs.sourceforge.net/
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git
S:	Supported
S:	Maintained
F:	Documentation/filesystems/jfs.txt
F:	Documentation/filesystems/jfs.txt
F:	fs/jfs/
F:	fs/jfs/


@@ -4407,7 +4407,7 @@ W: http://www.nongnu.org/orinoco/
S:	Maintained
S:	Maintained
F:	drivers/net/wireless/orinoco/
F:	drivers/net/wireless/orinoco/


OSD LIBRARY
OSD LIBRARY and FILESYSTEM
P:	Boaz Harrosh
P:	Boaz Harrosh
M:	bharrosh@panasas.com
M:	bharrosh@panasas.com
P:	Benny Halevy
P:	Benny Halevy
@@ -4416,6 +4416,9 @@ L: osd-dev@open-osd.org
W:	http://open-osd.org
W:	http://open-osd.org
T:	git git://git.open-osd.org/open-osd.git
T:	git git://git.open-osd.org/open-osd.git
S:	Maintained
S:	Maintained
F:	drivers/scsi/osd/
F:	drivers/include/scsi/osd_*
F:	fs/exofs/


P54 WIRELESS DRIVER
P54 WIRELESS DRIVER
P:	Michael Wu
P:	Michael Wu
@@ -5851,7 +5854,7 @@ UBI FILE SYSTEM (UBIFS)
P:	Artem Bityutskiy
P:	Artem Bityutskiy
M:	dedekind@infradead.org
M:	dedekind@infradead.org
P:	Adrian Hunter
P:	Adrian Hunter
M:	ext-adrian.hunter@nokia.com
M:	adrian.hunter@nokia.com
L:	linux-mtd@lists.infradead.org
L:	linux-mtd@lists.infradead.org
T:	git git://git.infradead.org/ubifs-2.6.git
T:	git git://git.infradead.org/ubifs-2.6.git
W:	http://www.linux-mtd.infradead.org/doc/ubifs.html
W:	http://www.linux-mtd.infradead.org/doc/ubifs.html
Loading