09 Jan, 2006
8 commits
-
Signed-off-by: Sam Ravnborg
-
This was causing some ordering problems. Remove the up-front evaluation
and just revaluate the compiler version each time we need it.(The up-front evaluation was problematic because some architectures modify
the value of $(CC)).Signed-off-by: Andrew Morton
Signed-off-by: Sam Ravnborg -
Error: ./fs/quota_v2.o .opd refers to 0000000000000020 R_PPC64_ADDR64 .exit.text
Been carrying this for some time in Red Hat trees.
Keith Ownes commented:
For our future {in}sanity, add a comment that this is the ppc .opd
section, not the ia64 .opd section. ia64 .opd should not point to
discarded sections.Any idea why ppc .opd points to discarded sections when ia64 does not?
AFAICT no ia64 object has a useful .opd section, they are all empty or
(sometimes) a dummy entry which is 1 byte long. ia64 .opd data is
built at link time, not compile time.Signed-off-by: Dave Jones
Signed-off-by: Sam Ravnborg -
If the final linking of vmlinux fails, the file .old_version are left
behind. This patch ensures the mrproper target will remove it if
present.Signed-off-by: Tore Anderson
Signed-off-by: Sam Ravnborg -
When building Debian packages directly from the git tree, the appended
"git_dirty" is a problem due to the underscore. In order to cause the
least problems, change that just to "dirty".Signed-off-by: Ryan Anderson
Signed-off-by: Sam Ravnborg -
SND_MAX should be FF_MAX
Signed-off-by: Brian Gerst
Signed-off-by: Sam Ravnborg -
- Move mkdir out of cmd_offsets
- Add input file to sed command instead of using catSigned-off-by: Brian Gerst
Signed-off-by: Sam Ravnborg -
Cleaning up the lxdialog Makefile by factoring out the
ncurses compatibility checks.
This made the checks much more obvious and easier to extend.Signed-off-by: Sam Ravnborg
07 Jan, 2006
6 commits
-
This makes things a little bit more reader friendly and gvim is less
confused.Signed-off-by: Sam Ravnborg
-
This patch fixed "make gconfig" with POSIXLY_CORRECT=1 set.
This issue was reported by Jens Elkner in kernel
Bugzilla #2919.Signed-off-by: Adrian Bunk
Signed-off-by: Sam Ravnborg -
Now when kbuild passes KBUILD_MODNAME with "" do not __stringify it when
used. Remove __stringnify for all users.
This also fixes the output of:$ ls -l /sys/module/
drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia
drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia_core
drwxr-xr-x 3 root root 0 2006-01-05 14:24 "processor"
drwxr-xr-x 3 root root 0 2006-01-05 14:24 "psmouse"The quoting of the module names will be gone again.
Thanks to GregKH + Kay Sievers for reproting this.Signed-off-by: Sam Ravnborg
-
Many arches make shared objects for VDSOs. Generally exclude them.
Signed-off-by: Brian Gerst
Signed-off-by: Sam Ravnborg -
Currently scripts/setlocalversion is a Perl script that tries to figure
out the current git commit ID of a repo without using git. It also
imports Digest::MD5 without using it and generally is too big for the
small task it does. :] And it always reports a git ID, even when the
HEAD is tagged -- this is a bug.This patch replaces it with a Bourne Shell script that uses git
commands to do the same. I can't come up with a scenario where someone
would use a git repo and refuse to install git core at the same time,
so I think it's reasonable to assume git is available.The new script also reports uncommitted changes by adding -git_dirty to
the version string. Obviously you can't see from that _what_ has been
changed from the last commit, so it's more of a reminder that you
forgot to commit something.The script is easily extensible: simply add a check for Mercurial (or
whatever) below the git check.Note: the script doesn't print a newline char anymore. That's only
because it was easier to implement it that way, not a feature (or bug).
'make kernelrelease' doesn't care.Signed-off-by: Rene Scharfe
Acked-by: Ryan Anderson
Signed-off-by: Sam Ravnborg -
Update modules.txt with info how to build external modules
with files in several directories.
The question popped up on lkml often enough to warrant this,
let's see if people read this stuff - or google hits it.Signed-off-by: Sam Ravnborg
06 Jan, 2006
26 commits
-
Setting RF (resume flag) allows a debugger to resume execution after a
code breakpoint without tripping the breakpoint again. It is reset by
the CPU after execution of one instruction.Requested by Stephane Eranian:
"I am trying to the user HW debug registers on i386 and I am running
into a problem with ptrace() not allowing access to EFLAGS_RF for
POKEUSER (see FLAG_MASK). [ ... ] It avoids the need to remove the
breakpoint, single step, and reinstall. The equivalent functionality
exists on IA-64 and is allowed by ptrace()"Cc: Stephane Eranian
Signed-off-by: Chuck Ebbert
Signed-off-by: Linus Torvalds -
These patches add the header linux/if_ether.h and change 1500 to
ETH_DATA_LEN in some files.Signed-off-by: Kris Katterjohn
Signed-off-by: David S. Miller -
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller -
Add some PCMCIA device IDs for the microdrive found in the Sharp Zaurus
and a different revision of the Socket CF+ Bluetooth card.Signed-off-by: Richard Purdie
Signed-off-by: Dominik Brodowski -
kill the socket_shutdown()/shutdown_socket() confusion by making it
one single function. move cs_socket_put() in there. nicer to read and
smaller:original:
text data bss dec hex filename
25181 1076 32 26289 66b1 drivers/pcmcia/pcmcia_core.kopatched:
text data bss dec hex filename
24973 1076 32 26081 65e1 drivers/pcmcia/pcmcia_core.koSigned-off-by: Daniel Ritz
Signed-off-by: Dominik Brodowski -
Signed-off-by: Alexey Dobriyan
Signed-off-by: Dominik Brodowski -
Convert users of kmalloc and memset to kzalloc
Signed-off-by: Dominik Brodowski
-
Do not wildly probe the IO ports we're trying to use on PARISC.
Signed-off-by: Dominik Brodowski
-
Export the stored values instead of re-reading everything in the socket
information sysfs files, and make them accessible to all users, not only
to root.Signed-off-by: Dominik Brodowski
-
This adds PCMCIA support for both MPC885ADS and MPC866ADS.
This is established not together with FADS, because 885 does not have
io_block_mapping() for BCSR area.
Also, some cleanups done both for 885ADS and MBX.Signed-off-by: Vitaly Bordug
Signed-off-by: Marcelo Tosatti
Signed-off-by: Dominik Brodowski -
This fixes misconfiguration that could result in odd work of some old CF
cards.Signed-off-by: Vitaly Bordug
Signed-off-by: Marcelo Tosatti
Signed-off-by: Dominik Brodowski -
Some PCMCIA sockets have statically mapped memory windows, but dynamically
mapped IO windows. Using the "nonstatic" socket library is inpractical for
them, as they do neither need a resource database (as we can trust the
kernel resource database on m68k and ppc) nor lots of other features of that
library. Let them get a small "iodyn" socket library (105 lines of code)
instead.Signed-off-by: Dominik Brodowski
-
Update the PCMCIA sound drivers to handle the recent changes to the PCMCIA
core. A part of this merge was done by Takashi Iwai .Signed-off-by: Dominik Brodowski
-
Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified
probe() callback. As all in-kernel drivers are changed to this new
callback, there will be no temporary backwards-compatibility. Inside a
probe() function, each driver _must_ set struct pcmcia_device
*p_dev->instance and instance->handle correctly.With these patches, the basic driver interface for 16-bit PCMCIA drivers
now has the classic four callbacks known also from other buses:int (*probe) (struct pcmcia_device *dev);
void (*remove) (struct pcmcia_device *dev);int (*suspend) (struct pcmcia_device *dev);
int (*resume) (struct pcmcia_device *dev);Signed-off-by: Dominik Brodowski
-
The linked list of devices managed by each PCMCIA driver is, in very most
cases, unused. Therefore, remove it from many drivers.Signed-off-by: Dominik Brodowski
-
Remove the old "detach" mechanism as it is unused now.
Signed-off-by: Dominik Brodowski
-
Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function.
Old functionality is preserved, for the moment.Signed-off-by: Dominik Brodowski
-
Merge the suspend and resume methods for 16-bit PCMCIA cards into the
device model -- for both runtime power management and suspend to ram/disk.Bugfix in ds.c by Richard Purdie
Signed-Off-By: Richard PurdieSigned-off-by: Dominik Brodowski
-
Move the suspend and resume methods out of the event handler, and into
special functions. Also use these functions for pre- and post-reset, as
almost all drivers already do, and the remaining ones can easily be
converted.Bugfix to include/pcmcia/ds.c
Signed-off-by: Andrew MortonSigned-off-by: Dominik Brodowski
-
Make the bridge specific initialization code config options depending on
CONFIG_EMBEDDED. Config options for TI/EnE, Toshiba, Ricoh and O2Micro are
available. Disabling all of the specific tweaks cuts off more than half
of yenta_socket.ko.Signed-off-by: Daniel Ritz
Signed-off-by: Dominik Brodowski -
Also return a value if CONFIG_PCMCIA_PROBE is not set.
Signed-off-by: Andrew Morton
Signed-off-by: Dominik Brodowski -
Add a return value to pcmcia_validate_mem. Only if we have enough memory
available to map the CIS, we should proceed in trying to determine information
about the device.Signed-off-by: Dominik Brodowski